Language/country redirect best practice?
-
Hi,
What is SEO best practice when it comes to redirecting users from www.domain.com to their specific language/country, let's say www.domain.com/de for Germany?
From what I heard in on of the whiteboard fridays, it seems to be Javascript based on IP and browser language, and then set a cookie - correct?
Or should we let our users manually select their language/country at the first visit?
Any suggestion appreciated, thanks!
-
I recommend avoiding javascript redirects as they can be considered cloaking.
Here's an idea: show the English language homepage by default, but determine the user's preferred language (from the accept-language header sent by the browser). If your site supports the identified language, include & display a hyperlinked text-box/graphic-banner suggesting the visitor "view this site in {the user's identified language}" which links to the homepage for that language.
Useful links for reference:
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
-
301 Redirects
Hi, I have switched my site from a http .co.uk site to a https .com site. I have set a 301 redirect in the .htaccess file pointing all traffic going to the original .co.uk site to go to the new https: RewriteEngine on
Technical SEO | | imoprojects
RewriteCond %{HTTP_HOST} ^up-bus.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.up-bus.co.uk$
RewriteRule ^(.*)$ "https://www.up-bus.com/$1" [R=301,L] however when i search in google for keywords the original .co.uk site is still registering in search, is there something else I am required to do to tell google to use the new https site instead? Do i need to do redirects for every page, or is what I have done above sufficient? Hope you can help, I am struggling with getting our site to register on google search, any advice greatly welcome Thanks in advance, Ian0 -
Rebranding / Redirecting
Hi I have a client who wants to re-brand their shopify clothing store under new domain name. Whilst still a clothing store its going to have different department structure and product pages and will hence be a different store/site. Is there anyway to pass any of the history/authority of existing site to the new one such as 301 redirecting the top level pages of existing site to nearest equivalent pages of new site etc or best to just redirect the old site domain to the new ? Cheers Dan
Technical SEO | | Dan-Lawrence0 -
Temporary Redirect Warnings
How big of an seo issue is this. I provide downloadable results for fitness events and after I pull the data I "redirect" it to a plain text file that is actually created on the fly. Is this a problem and, if so, is there a modification that I can implement to avoid having my site suffer for this? Thanks~
Technical SEO | | bobbabuoy0 -
Country domain: Seo for other languages
Hi, I have an italian domain (.it) for an italian hotel, it is an old authoritative domain (1997) and it is well optimized for the keywords that include the city the hotel is in, now the page is decently positioned in Google Italy. There are many problems to have the same rank for German version (in google.de, google.at). The German version is in the /de folder. The hotel has another .com domain, much less authoritative (2007), in a German server, but it was and is only a simple redirect 301 (by code) to the German version in the .it domain. (obviously the rank for this domain is almost nonexistent). Do you have any suggestion? Thank you.
Technical SEO | | depi0 -
Canonicalisation - Best Approach?
Hi I have been reading into canonicalisation and I am looking for professional advice and guidance on the best approach as there are many conflicting views on how to implement a solution. I have added to the homepage http://www.cheapfindergames.com/" /> so that http://cheapfindergames.com and index.php redirects to the www version. Or would it be better using .htaccess if this is the case what code would be needed to achieve the above? Many Thanks
Technical SEO | | ocelot0 -
301 Redirect
Need a little bit of help on this one. I have a product page which actually has 3 products on the page in question: www.example.com/products I thought it would be best for each product to have a page on its own: www.example.com/product-1 www.example.com/product-2 www.example.com/product-3 however my question is: The page with the 3 products www.example.com/products where should the 301 go to? Can you do a 301 to all the new product pages? Hope that makes sense Kind Regards,
Technical SEO | | Paul780 -
How to safely reduce the number of 301 redirects / should we be adding so many?
Hi All, We lost a lot of good rankings over the weekend with no obvious cause. Our top keyword went from p3 to p12, for example. Site speed is pretty bad (slower than 92% of sites!) but it has always been pretty bad. I'm on to the dev team to try and crunch this (beyond image optimisation) but I know that something I can effect is the number of 301 redirects we have in place. We have hundreds of 301s because we've been, perhaps incorrectly, adding one every time we find a new crawl error in GWT and it isn't because of a broken link on our site or on an external site where we can't track down the webmaster to fix the link. Is this bad practice, and should we just ignore 404s caused by external broken URLs? If we wanted to reduce these numbers, should we think about removing ones that are only in place due to external broken URLs? Any other tips for safely reducing the number of 301s? Thanks, all! Chris
Technical SEO | | BaseKit0 -
Optimal / Best Practice Title tag
Hi Guys, Am I write in saying google will take / create many variable from your title tag? Graphic, Web Design and Online Marketing in Ireland | Company Name results: Graphic Design, Web design, Web design in Ireland, Online Marketing in Ireland, Online Marketing, Graphic and Web Design, etc etc. (plus lots of long tail there as well). Would this be considered the optimal way as 'Design' is the common denominator for Graphic & Web. Then Ireland can be common to every other keyword such as Graphic design, Web design, Online Marketing. (in ireland) The reason why I ask is: lately I've notice title tags being stuffed with keywords and don't actually read correctly in the SERP My suggested way could have more benefits plus it reads well. Your thoughts, thanks.
Technical SEO | | Socialdude0