Is it OK to change language by user IP?
-
Hello, I just read https://support.google.com/webmasters/answer/182192?hl=en#1 about multilingual website.
Google says "Avoid automatic redirection based on the user’s perceived language". so Is it ok to redirect url by user IP instead of user language?
-
Hi
I would not do it. Main Google bot is using a California IP address - so depending on the languages you are targeting you risk that the bot is only crawling one version of the site. There are bots that use foreign IP addresses - but they don't guarantee that these bots crawl 100% of your site. Apart from that, it can be annoying for your visitors if you get it wrong. Check also this article on international SEO https://mza.seotoolninja.com/blog/5-dos-and-donts-of-international-seo
Better to allow the user to make the choice of language on first visit and store the preference in a cookie. Set hreflang to indicate the alternative versions in other languages. Here is a tool that helps you to generate the Hreflang tags: http://moz.com/blog/using-the-correct-hreflang-tag-a-new-generator-tool and here you can test if the implementation was correct flang.dejanseo.com.au
Hope this helps,
Dirk
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
-
Correct Hreflang & Canonical Tags for Multi-Regional Website English Language Only having URL Parameters
Dear friends, We have a multi-regional website in English language only having the country selector on the top of each page and it adds countrycode parameters on each url. Website is built in Magento 1.8 and having 1 store with multiple store views. There is no default store set in Magento as I discussed with developer. Content is same for all the countries and only currency is changed. In navigation there are urls without url parameters but when we change store from any page it add parameters in the url for same page hence there are total 7 URLs. 6 URLs for each page (with country parameters) and 1 master url (without parameters) and making content duplicity. We have implemented hreflang tags on each page with url parameters but for canonical we have implemented master page url as per navigation without url parameters Example on this page. I think this is correct for master page but we should use URL parameters in canonical tags for each counry url too and there should be only 1 canonical tag on each country page url. Currently all the country urls are having master page canoncial tag as per the example. Please correct me if I am wrong and **in this case what has to be done for master page? **as google is indexing the pages without parameters too. We are also using GEOIP redirection for each store with country IP detection and for rest of the countries which are not listed on the website we are redirecting to USA store. Earlier it was 301 but we changed it to 302. Hreflang tags are showing errors in SEMRush due to redirection but in GWT it's OK for some pages it's showing no return tags only. Should I use **x-default tags for hreflang and country selector only on home page like this or should I remove the redirection? **However some of the website like this using redirection but header check tool doesn't show the redirection for this and for our website it shows 302 redirection. Sorry for the long post but looking for your support, please.
International SEO | | spjain810 -
International SEO strategy for an ecommerce with 3 languages.
Hi all, I've an ecommerce which ships worldwide and we maintain 3 languages, spanish, english and french. My main business is in Spain, so spanish will be shown in the root domain: http://domain.com/. English will have the /en/ subdomain and french the /fr/ subdomain. After some research, I've concluded that the best strategy for my business is the following. 1º- Translate all the URL's to the correct language, since now are in spanish. 2º- Implement Hreflang tag (with self-reference): Note: Due to the "universality" of english, Does it make sense? Or should I use spanish as default since it's the most important one. 3º- Create the 3 sites in Search Console and only geo targetting french sobdomain to France. Since I really want to boost in France rankings. Do you consider this as a contradiction with ? I could also target country in the hreflang. 4º- Add language tag in each language version: <meta name="language" content="spanish">in http://domain.com/</meta name="language"> <code class="broncode"><meta name="language" content="english">in http://domain.com/en/</meta name="language"></code> <code class="broncode"><meta name="language" content="french">in http://domain.com/fr/</meta name="language"></code> <code class="broncode">5º- Use canonical tag together with hreflang.</code> ``` Any opinion will be very appreciated. Thanks a lot in advance! Best regards.
International SEO | | footd0 -
Effects of Anonymizing IP Addresses?
Our company will be expanding into Germany later this year, and we need to modify how we use Google Analytics to comply with Germany's privacy laws. One option is to anonymize the IP addresses of our users. It looks like the only effect is that some of the Geo reports will become less accurate, but would love to hear from those who have done it. I've read through the Google Analytics forums on the topic, and the info there is sparse. I'm curious to know if anyone else has experience with this, and if you did it, what were the effects on your GA reporting or any other tools or technologies used on your site? Is this a non-issue, or are there pitfalls we need to consider? Thanks!
International SEO | | Allie_Williams1 -
Is it possible to geotag language folders on a .co.uk domain
Hi all, I'm going around in circles a little on this one, so I thought that I'd as as I haven't found anyone asking quite the same thing (sorry if someone has). I have a .co.uk site and would like to set up some different language variations. I've been looking at the subfolder route for now (budget is limited). Can I set a geotag in webmaster tools on a .co.uk site or does it need to be a domain that Google considers country neutral? Many thanks for any suggestions!
International SEO | | ceecee0 -
Will changing my host affect my rankings
Were moving our site from a UK server to an Australian server to benefit from hosting our site in our home country. The domain name is the same, the template and files are all the same so will we lose rankings at all when the website is moved? I plan on leaving the old website up there until the new website is cached. What considerations should we think of before we migrate? Cheers
International SEO | | acs1110 -
Site with multiple languages
We are building a Joomla site for a customer that has an USA division and a South American division (english and spanish). The products and services are the same. I am trying to understand the best posible way to architect the site. 1- Do I create 1 site with duplicate pages in different languages? Does Google recognize that it is duplicate content if different languages are used? 2- Do I create seperate sub domains for each language? 3- Should I just use Google translate to translate the pages as required? The problem here is that each site has a different geographic target. any other alternatives?
International SEO | | brantwadz0 -
Same language many countries
Hello, I live in Belgium and in this country you've 3 languages : french, dutch and german. I've customers from many countries : France, Nederlands,... and for my website in ".be" (we'll say www.mysite.be for example) I've choosen the french language. My question is can I've the same content on my site : www.mysite.be and www.mysite.fr without duplicate content or should I forgot using www.mysite.fr to avoid the D.C. problem? And with my site : www.mysite.be should I've more difficult to rank in France for example? Thank you for your answer, Jonathan
International SEO | | JonathanLeplang0 -
Different country, same language
I have read the blog posts by Rand and other community members at YouMoz but i still have a question on trageting and domains / sub-directories usage. Suppose, my business is located in France but my prospects are in US and UK as well. The issue is, they are not English speakers but French. If i use ccTLD, i don't think it will rank well in US and UK. gTLD will not be a good option for prospects in France. What should i do? Regards, Shailendra
International SEO | | IM_Learner1