2

I have a multi-languages website where different versions are served this way:

https://example.com/<language ID>/[...]

The language is either detected from the client or specified from the default value.

Should I redirect people from https://example.com/ to https://example.com/<language ID>/?

  • On one hand, that costs a 301 redirection which slows down page display which might be superfluous. Page display timing is critical for UX, and bears some weight in SEO.
  • On the other hand, without redirecting, I would be displaying different content (different languages) at the same https://example.com/ URI. Could not that be bad for SEO?

The same question might be generalized for every URI that does not contain any language indicator such as https://example.com/product/food/SPAM/.

1 Answer 1

1

If the website is essentially the same in every language but just translated then your proposed solution follows best practice and in reality it just means that instead of example.com showing up high in search results or having a reasonable page rank it would be example.com/en/ or example.com/fr/ etc that show up and get the page rank. Functionally this solution works well for users since they can manually change the language code in the URL also and no cookie is required to remember their preferred language.

If the website is actually in essence a completely different website for each language, maintained from a different set of files, where it would not be uncommon for a page in one language to not have an equivalent in another language, then it might be better to use subdomains for the language codes, e.g. https://en.example.com/ or https://fr.example.com/ and submit them all as separate websites with individual sitemaps into Webmaster Tools.

To have a redirection at the root-level of the domain is very common for large companies/organisations and often considered best practice for multi-language websites.

To give an example (and I realise Microsoft are not always a company to adopt industry best practice), if I (from within in the UK with English/British locale settings in my operating system), enter http://www.microsoft.com/ into my web-browser I am redirected to http://www.microsoft.com/en-gb/index.aspx and if I enter microsoft into Google Search the top organic search result is for http://www.microsoft.com/en-gb/.

Wikipedia is an example of a large site that has used subdomains since each language version of their website has a different base of content, though Wikipedia have a gateway/landing page with links to all their languages on the root level of the domain instead of redirecting a user based on locale settings or IP geolocation.

1
  • I realize that is best practice and thanks for your answer, however my problem there is page loading time/number of redirections. I alread have redirections from http:// and *://www. requests. Adding another redirection worries me. Could not that penalize me more than using the same URI for different languages? And yes, the content is the same, so I am going for language locations, not subdomains in this case. Nov 5, 2014 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.