Answers.Body: <p><a href="https://superbig.co/plugins/country-redirect" rel="nofollow noreferrer">Country Redirect</a> 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).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-10T17:25:20.637Z
Answers.Text: Thank you! When is scheduled the release of the your Craft 3 plugin?
Answers.UserDisplayName: Romain P.
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-11T12:33:55.097Z
Answers.Text: I'll try to have it out within the next couple weeks.
Answers.UserDisplayName: Fred Carlsen
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-10T17:21:40.617Z
Answers.LastActivityDate: 2018-01-10T17:21:40.617Z
Answers.UserDisplayName: Fred Carlsen
Body: <p>I have set up multi-sites using several locales:</p>
  
  <pre><code>— International Website
      — English
  — Local Website
      — French
      — Dutch
      — etc.
  </code></pre>
  
  <p>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.</p>
  
  <p>I found this plugin, that probably could make this works: <a href="https://github.com/lukeyouell/craft3-geocookie" rel="nofollow noreferrer">https://github.com/lukeyouell/craft3-geocookie</a>. I guess I would need to check the cookie inside my base.twig layout before to finally <code>{% redirect %}</code> to the matching version?</p>
  
  <p>But I was wondering if there were (better) other ways to do that?</p>
  
  <p>Thanks!</p>
  
Tags: <localization><craft3><redirect><cookies>
Title: Craft 3: how can I auto-redirect to a site version using the user IP?
ThreadText: # Craft 3: how can I auto-redirect to a site version using the user IP?
  
  (Asked by: username_0 on 2018-01-10)
  
  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?
  
  Thanks!
  
  **Tags:** localization, craft3, redirect, cookies
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-01-10. Score: 1
  
  [Country Redirect](https://superbig.co/plugins/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).
  
  > **Comments:**
  > **username_0**: Thank you! When is scheduled the release of the your Craft 3 plugin?  
  > **username_1**: I'll try to have it out within the next couple weeks.  
  
  ---
  
  