Redirecting users based on location
-
My site is available in EN, DE, SW, SP, FR, IT, CH and JP.
However, the EN sites ranks much better than the other languages, and even when searching in another language the EN homepage is normally the result that appears.
Would it be worthwhile to automatically redirect users to the site in the same language they are searching in or country they are searching from? If so, how do I go about this?
Thanks!
-
Thanks for your response!
May I ask how you achieved this? I have a client that wants to show different content based on US State Location.Thanks
-
Hi Sara,
The GEO-IP redirect isn't an approach I favour.
As Google normally crawl from a US IP it can cause indexation problems.
As such I prefer something like cheapflights.com implement - if you visit cheapflights.com from a UK IP you are pushed to this international choice page - http://www.cheapflights.com/workers/profile-select.aspx?sref=CFUK&redirect=GeoIP&geoip=GB&cfref=CFUS&spt=Home&rp=/
This allows user to select the appropriate site (nicer for users) and allows both versions to be crawled.
My recommendation would be to implement something like that rather than a hard redirect to a specific language version.
I hope this helps,
Hannah
-
I haven't redirected users by country, but I am doing it by US state for certain services on a site.
-
When a user visits the page from a state we offer the service in, they are 302 redirected to the state specific page
-
When a crawler visits the page, they are NOT redirected anywhere
-
On that same page, we have links pointing to the state specific page so they can be discovered by the crawler
-
-
Hi SaraSEO,
I don't think redirecting visitors based upon country is wise because of the following reasons:
- The Search Engine crawlers are not neccissarily located in the country they crawl for and might not be able to crawl all languages.
- Redirecting Users but not Crawlers could be considerd cloaking
- There might be German speaking people in sweden getting very annoyed not being able to see the german version. - Google explicitly advises not to do this:
"Make sure each language version is easily discoverable
Keep the content for each language on separate URLs. Don’t use cookies to show translated versions of the page. Consider cross-linking each language version of a page. That way, a French user who lands on the German version of your page can get to the right language version with a single click.
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."
source: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=182192&topic=2370587&ctx=topic
Greets,
Sven
-
I think the only option would be to either have separate sites / urls or - redirect user to the relevant version of the site when they first land on your site, by checking their geo location. Now, if you're using one site and redirect, then I'm presuming you're still using the same urls - it's just the content that changes accordingly based on the location.
It looks like international versions of Google services are hosted in specific countries as their IP address changes - try for instance google.ru, google.pl etc. and you'll see using the SEOMoz toolbar that the IP is different, but I'm not quite sure if crawlers are only coming from the main server or not. Perhaps someone else could answer this.
You can do redirection using two methods : Javascript or Server side technology. Depending on what server technology you're using there are several classes / scripts available out there. Here's an example of one for PHP : http://www.geoplugin.com/webservices/php
The HTML5 has a built in Geolocation API, which you can read more and see some examples of here : http://merged.ca/iphone/html5-geolocation
With HTML5 Geolocation you will always be first asked if you want to allow the site to use your location - this is something you cannot get rid of.
I hope this helps a bit.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Multilang site: Auto redirect 301 or 302?
We need to establish if 301 or 302 response code is to be used for our auto redirects based on Accept-Language header. https://domain.com
International SEO | | fJ66doneOIdDpj
30x > https://domain.com/en
30x > https://domain.com/ru
30x > https://domain.com/de The site architecture is set up with proper inline HREFLANG.
We have read different opinions about this, Ahrefs says 302 is the correct one:
https://ahrefs.com/blog/301-vs-302-redirects/
302 redirect:
"You want to redirect users to the right version of the site for them (based on location/language)." You could argue that the root redirect is never permanent as it varies based on user language settings (302)
On the other hand, the lang specific redirects are permanent per language: IF Accept-Language header = en
https://domain.com > 301 > https://domain.com/en
IF Accept-Language header = ru
https://domain.com > 301 > https://domain.com/ru So each of these is 'permanent'. So which is the correct?0 -
What is best way to display user reviews in languages different from the page language? (e.g. English reviews on a page in Spanish)
What is best way to display user reviews in languages different from the page language? (e.g. English reviews on a page in Spanish). For the user it would be useful to see these reviews but I am concerned about negative SEO impact.
International SEO | | lcourse
I would not want to invest into having them all translated by human translator. Any suggestions?0 -
International SEO : Redirecting spanish visitors to spanish site
Hi There, I have a problem I need an advice for. I run an e-commerce site in French. Things are going well. I also run the Spanish version of this site. We are starting to sell. But nothing like French site. I have traffic coming to the French site from Spain from visitors with Spanish language and they don't buy anything. That is strange as the conversion rate is good. Si I want to redirect them to the Spanish site. We sell phone parts. Our SEO is mainly based on brands, make, and reference numbers. So keywords are almost the same in both languages. Of course, site.es is aiming at google.es, and site.fr at google.fr So I am wondering. If I redirect these visitors to the Spanish site, Will it affect french site's SEO? Thanks
International SEO | | Kepass0 -
Shall I automatically redirect international visitors from www.domain.com to e.g. www.domain.com/es? What is best SEO practice?
We have chosen the one domain approach with our international site having different language versions in subdirectory of main domain:
International SEO | | lcourse
www.domain.com/es
www.domain.com/it
etc. What is SEO-wise best practice for implementing international index pages. I see following options: entering www.domain.com will display without redirection the index page in language of user (e.g based on IP or browser) in www.domain.com
Example: www.booking.com entering www.domain.com will always show English index page.
Additionally one may display a message in the header if IP from other country with link to other language version.
Example: www.apple.com entering www.domain.com will always redirect automatically to country specific subdirectory based on IP
Example: www.samsung.com Any thoughts/suggestions on what may be best solution from a SEO perspective? For a user I believe options 1) & 3) are preferable.0 -
International SEO Subfolders / user journey etc
Hi According to all the resources i can find on Moz and elsewhere re int seo, say in the context of having duplicate versions of US & UK site, its best to have subfolders i.e. domain.com/en-gb/ & domain.com/en-us/ however when it comes to the user journey and promoting web address seems a bit weird to say visit us at: domain.com/en-us/ !? And what happens if someone just enters in domain.com from the US or UK ? My client wants to use an IP sniffer but i've read thats bad practice and should employ above style country/language code instead, but i'm confused about both the user journey and experience in the case of multiple sub folders. Any advice much appreciated ? Cheers Dan
International SEO | | Dan-Lawrence0 -
302 Redirect based on Language Detection
Hi, Our online application, magento e-commerce, has a script that detects browser language and does a 302 redirection to the language of choice ... www.mydomain.com/en/ or www.mydomain.com/es/ What's the SEO angle on this? Should I be concerned? thanks, Ben
International SEO | | bjs20100 -
Romanian users searching english kw/info
Hi! My users would search for english keywords, for example: "my product review". How can I optimize my site for english searches? Should I post the content in romanian and the title in english? Things I've done so far: 1.Romanian tld 2. Ip from Romania 3. Links from romanian sites. What do you guys think? Thanks!
International SEO | | aleisterl0 -
How can I Get SE results as if browsing from a differetn location?
Hi, I would like to know if anyone has an easy way off allowing me to browse a SE and get results based on as if I was browsing from a different location. EG I am based in the UK and therefore google customises my result as such. However I am working for a client targetting the US, so I need to get SE results as if I was browsing from there. Thanks
International SEO | | James770