What is the correct SEO way of redirecting customers to other websites based on their IP? We currently have 2 websites, one is for brazil and one is for other Latin America. The 2 websites are different aside from language, hosted both on Shopify but not the same account, the brazil website only shows a few products and has a different design.  

My method of redirecting is using GeoIP API, then show pop up asking them that there is a brazil website available and asking them if they want to proceed or stay. 

Just want to ask what should we do for its SEO and if it will have a negative impact on our websites. Do we need to declare ref lang and country?

  • +1 for asking users if they want to stay vs automatically redirecting them. Geo IP databases are wrong a significant portion of the time and also don't account for foreign language speakers that need to use one site or the other because it is in their language. Related question: How should I structure my URLs for both SEO and localization? Commented May 10, 2022 at 15:37
  • What is the alternative for GEO IP? The store is hosted in Shopify so I have limited capability on its server-side.
    – Mr.Mime99
    Commented May 15, 2022 at 23:48

1 Answer 1


From Google's point of view, redirecting users based on IP is a bad practice for SEO:

Avoid automatic redirection based on the user's perceived language. These redirections could prevent users (and search engines) from viewing all the versions of your site.

and further in the same guideline:

Do not use IP analysis to adapt your content. IP location analysis is difficult and generally not reliable. Furthermore, Google may not be able to crawl variations of your site properly. Most, but not all, Google crawls originate from the US, and we do not attempt to vary the location to detect site variations. Use one of the explicit methods shown here (hreflang, alternate URLs, and explicit links).

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.