I have set up multi-sites using several locales:

— International Website
    — English
— Local Website
    — French
    — Dutch
    — etc.

If the user has a French or Dutch IP, it should be auto-redirect to the Local Website version. Otherwise, it should be redirected to International Website.

I found this plugin, that probably could make this works: https://github.com/lukeyouell/craft3-geocookie. I guess I would need to check the cookie inside my base.twig layout before to finally {% redirect %} to the matching version?

But I was wondering if there were (better) other ways to do that?


1 Answer 1


Country Redirect will let you do that without any latency from external services, with the soon-to-be-released Craft 3 version (I'll update the answer once its out).

  • Thank you! When is scheduled the release of the your Craft 3 plugin?
    – Romain P.
    Commented Jan 10, 2018 at 17:25
  • I'll try to have it out within the next couple weeks. Commented Jan 11, 2018 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.