I often get asked this question… And tonight on stream I got asked again
How do you redirect traffic to a specific storefront/site based on the visitors country
As I mentioned, this is something that you want to address at the Web Server (e.g. Apache) level, not Magento. Therefore, this is more of a stackexchange.com question.
Anyway, I did a quick Google search and found these articles that relate to what I was talking about. I’ve not read through them properly, but they seem to hold some very useful information on the topic:
- https://taylor.callsen.me/locale-switching-for-region-specific-sites-in-apache/ (I like the look of this one. Where the CDN helps determine the visitors country, as you’re letting them do the hard work. Then you use the result to create an Apache rule.)
Redirecting at the Apache level based on the visitors browser settings is far more efficient and simpler than basing it on IP. Definitely how I would approach this.