International SEO - Alternatives to Automatic IP re-direct
-
Hello,
When doing international SEO I've read that it's not good practice to automatically re-direct users to the correct part of the website based on their IP address. But what alternatives are there to this?
Let's say you're targeting the US and the UK through multiregional SEO. What can you do to ensure that users from the US go to the US sub-directory and that users from the UK go to the UK sub-directory?
In Moz's international SEO guide it says that:
"If you choose to try to guess at the user’s language preference when they enter your site, you can use the browser’s language setting or the IP address and ask the user to confirm the choice. Using JavaScript to do this will ensure that Googlebot does not get confused. Pair this with a good XML sitemap and the user can have a great interaction. Plus, the search engines will be able to crawl and index all of your translated content."
Can anyone explain this further?
Any help would be much appreciated!
Thanks in advance
-
Thanks for the detailed response Nick - great summary!
"If you choose to try to guess at the user’s language preference when they enter your site, you can use the browser’s language setting or the IP address and ask the user to confirm the choice. Using JavaScript to do this will ensure that Googlebot does not get confused."
I presume web developers would know how to do this?
-
Also just to add:
""If you choose to try to guess at the user’s language preference when they enter your site, you can use the browser’s language setting or the IP address and ask the user to confirm the choice. Using JavaScript to do this will ensure that Googlebot does not get confused." It's about giving the user choice and not force redirecting them aka it's ok to query the language and suggest it, but not force it.
For example, GoogleBot is mostly from USA, so it would be auto-forced to US content options which theoretically means it could miss other versions.
If you are redirected to a particularly language version, you need to give the user the option to switch...
-
Hi there,
Great question!
I must admit that some of the wording for this confused me as well...
I've pasted below some snippets from Google's official guidelines on managing multilingual websites and added my own thoughts here and there: https://support.google.com/webmasters/answer/182192?hl=en/
"If you choose to try to guess at the user’s language preference when they enter your site, you can use the browser’s language setting or the IP address and ask the user to confirm the choice." Let the user switch the page language If you have multiple versions of a page:
- Consider adding hyperlinks to other language versions of a page. That way users can click to choose a different language version of the page.
- 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.
Using JavaScript to do this will ensure that Googlebot does not get confused.
"If you prefer to dynamically change content or reroute the user based on language settings, be aware that Google might not find and crawl all your variations. This is because the Googlebot crawler usually originates from the USA. In addition, the crawler sends HTTP requests without setting
Accept-Language
in the request header."Pair this with a good XML sitemap and the user can have a great interaction. Plus, the search engines will be able to crawl and index all of your translated content.
No specific answer or single quote to copy but this covers on-page annotation and XML sitemaps: https://support.google.com/webmasters/answer/189077
- Hope this helps as a starter!
Nick
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
-
International SEO Mobile directory
I was wondering, What if I went with international sub-directory route (not ccTLD), for example: sitename.com/fr (fr being france)...But the question is, what's the best practice for MOBILE?sitename.com/mobile/frORsitename.com/fr/mobileORm.sitename.com/fr Again, ccTLD is not an option (currently, sites are in ccTLD but we are now transitioning to sub folders)Now, the next question is WHY is it best practices for it to be sitename.com/mobile/fr or sitename.com/fr/mobile or m.sitename.com/fr ? Please cite source. Thanks!
International SEO | | ggpaul5620 -
Change Lang. IP base, Browser Base or Manually?
Hello I would like to ask a question about multi lang/international Website. Which one is better for SEO? User in Different Countries automatically see The website in their Language? or User see the English version and can change the language manually?
International SEO | | Vahid-af0 -
Include mobile and international versions of pages to sitemap or not?
My pages already have alternate and hreflang references to point to international and mobile versions of the content. If I add 5 language desktop versions and 5 language mobile versions as https://support.google.com/webmasters/answer/2620865?hl=en explains, my sitemap will get bulky. What are the pros and cons for referencing all page versions in sitemap and for include just general (English/Desktop) version in sitemap?
International SEO | | poiseo0 -
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 -
Is this hurting our SEO: company1.uk.com, company1.ru.com, company1.de.com, etc...?
Hello I work for a company which is using this kind of subdomains, that look like domains such as company1.uk.com, company1.ru.com, company1.de.com, but they are obviously not. We also own company1.com where the main site in English lies. We are one of the leader portals in one financial sector, and I am wondering if our SEO can be hurted by these fake "domains". I understand that we get some effect from the other domains hosted under this domain, and they are probably not as high quality as ours and they are probably unrelated. **- Would you recommend us to stop using these and use subdomains? So change: "company1.de.com" and use "de.company1.com" instead? Should we expect an increase in traffic after this change?** Any help will be appreciated.
International SEO | | forex-websites0 -
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 -
Links metrics & rel="alternate" hreflang="x"
Bonjour! If with rel="alternate" hreflang="x" we can indicate to Google that an URL have translated equivalents of a page, are the links metrics splited between all pages or Google considers all the pages as only one? Thanks! Maxime
International SEO | | Maxoulala0 -
SEO for Subdomains for different languages .com/fr, .com/es
Hi All, I was wondering how best to to approach optimisation of a site that exists on a single .com domain, but has different subfolders for different languages. The site is a .com and it has subfolders for French, Spanish, Russian and English. The business is situated in France and the vast majority of clients are French and English speakers. I've read that it's possible to geo target these subfolders using webmaster tools however I believe this is an inferior method of optimisation than having tld's. Just wondered if anyone had experience of htis and could provide any advice ? As they won't be rebuilding the site for another year or so I wondered if there were any quick wins? My second question is to do with how best to set these campaigns up within SEO Moz. would it be better to track at a subdomain or subfolder leverl (for different languages)? If someone could advise I would greatly appreciate it! Thanks, vantresca
International SEO | | vanvallejo0