Streaming live at 10am (PST)

Multilingual Website, how to open the right page according to the country


#1

Hey guys,

I’m creating a website in English, Portuguese and Spanish. I’ve already inserted the “hreflangs” and Google is showing the right page in the results, according to each country (I’ve been using VPN to test this).

But what I really need is when an user in Brazil, for example, type www.domain.com it automatically redirects to the Portuguese version of the website (www.domain.com/home-pt). And of course, the same for Spanish and English.

Any idea about how to solve it?

Thank you a lot!


#2

Could this help you?

I haven’t tested it myself, yet.


#3

Another idea is to redirect depending on the system language settings of the user. So that a spanish guy visiting brazil is directed to the spanish version of the site.


#4

Hi Jorn. I’ll test it this week. Thanks for sharing :wink:


#5

Hi Vincent. Any idea how can I do that? With a script?


#6

This topic was automatically closed after 60 days. New replies are no longer allowed.