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
-
Getting accurate Geo Location traffic stats in Google Analytics - HELP
One of our clients services the US and the UK, but having looked at the report over an extended period of time we can still see that the vast majority of traffic is coming from the US. I.e. our last report for March indicated that there were over 3,000 users in the US but only 6 in the UK. We know that Google Analytics works out a user’s location based on where their IP is located and not their physical location, and that this means that the data needs to be taken with a pinch of salt as it won’t always represent what you expect. That being said, we know that the traffic figures for Europe are largely inaccurate and would like to get some more accurate stats to report on. Is there a way to do so at all within Google Analytics?
International SEO | | Wagada1 -
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 -
Auto-Redirecting Homepage on Multilingual Site
The website has an auto-redirecting homepage on a multilingual site. Here is some background: User visits the site for first time > sent to javascript age verification page with country of origin selector. If selects "France" then served French page (.com/fr-fr/). If selects any other country, then served English page (.com/en-int/). A cookie is set, and next time the user visits the site, they are automatically served the appropriate language URL. 1st Question: .com/ essentially does not exist. It is being redirected to .com/en-int/ as this is the default page. Should this be a 301 redirect since I want this to serve as the new homepage? 2nd Question:. In the multilingual sitemap, should I still set .com/ as the hreflang="x-default" even though the user is automatically redirected to a language directory? According to Google, as just released here: http://googlewebmastercentral.blogspot.com/2014/05/creating-right-homepage-for-your.html "automatically serve the appropriate HTML content to your users depending on their location and language settings. You will either do that by using server-side 302 redirects or by dynamically serving the right HTML content. Remember to use x-default rel-alternate-hreflang annotation on the homepage / generic page even if the latter is a redirect page that is not accessible directly for users." So, this is where I am not clear. If use a 302 redirect of .com/ to either .com/en-int/ or .com/fr-fr/, won't I then lose the inbound link value and DA/PA of .com/ if I just use a 302? Note: there is no .com/ at this moment. Any advice is appreciated. Thanks,Alex
International SEO | | Alex.Weintraub0 -
If I redirect based on IP will Google still crawl my international sites if I implement Hreflang
We are setting up several international sites. Ideally, we wouldn't set up any redirects, but if we have to (for merchandising reasons etc) I'd like to assess what the next best option would be. A secondary option could be that we implement the redirects based on IP. However, Google then wouldn't be able to access the content for all the international sites (we're setting up 6 in total) and would only index the .com site. I'm wondering whether the Hreflang annotations would still allow Google to find the International sites? If not, that's a lot of content we are not fully benefiting from. Another option could be that we treat the Googlebot user agent differently, but this would probably be considered as cloaking by the G-Man. If there are any other options, please let me know.
International SEO | | Ben.JD0 -
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 -
Redirect the main site to keyword-rich subfolder / specific page for SEO
Hi,
International SEO | | Awaraman
I have two questions. Question 1: is it worthwhile to redirect the main site to keyword-rich subfolder / specific page for SEO? For example, my company's webpage is www.example.com. Would it make sense to redirect the main site to address www.example.com/service-one-in-certain-city ? I am asking this as I have learned that it is important for SEO to have keywords in the URL, and I was thinking that we could do this and include the most important keywords to the subfolder / specific URL. What are the pros and cons and how important is it to include keywords to folders and page URLs. Should I create folders or pages just the sake of keywords? Question 2: Most companies have their main URL shown as www.example.com when you access their domain. However, some multi-language sites show e.g. www.example.com/en or www.example.com/en/main when you type the domain to your web browser to access the site. I undertstand that this is a common practice to use subdomains or folders to separate the language versions. My question is regarding the subfolder. Is it better to have only the subfolder shown (www.example.com/en) or should you also include the specific page's URL after the subfolder with keywords (www.example.com/en/main or www.example.com/en/service-one-in-certain-city)? I don't really understand why some companies show only the subfolder of a specific language page and some the page's URL after the subfolder. Thanks in advance, Sam0 -
Intentional redirect for international visitors to a website
We are doing PPC for a new client, and using Clicktale to improve conversion rates. However, Clicktale won't work because the client does not want international visitors looking at their website (competitive reasons! - yeah don't get me started...). They have a redirect on for all international visitors which points to a "coming soon..." page Are there any SEO implications on traffic in their own country (they currently do rank for terms)? I'd like to go back with a strong case for them removing any international redirect. Thank You
International SEO | | CleverClicks0 -
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