Answer the question
In order to leave comments, you need to log in
Correct site localization
Interested in which method of localization is more preferable for search engines?
For example:
Answer the question
In order to leave comments, you need to log in
It is correct to specify lang as a property of the html tag:
<html lang="ru">
If the "cookie" determines the language of the site, but does not change the URL, then search robots will only see the version of the site that is set by default, they do not understand cookies. So I either did not understand the previous advice, or I do not support it (this does not apply to lang / charset).
I am sometimes puzzled by smart sites that automatically detect the language by accept language and give out "localized" content without options, which may be poorer or completely different than the original that I was sent a link to or that I found on Google. If at the same time the URL does not change, it’s generally sad, but this rarely happens.
From the point of view of the PS (and I join) it is good when a unit of content = 1 URL. I would call 2 pages in different languages two units of content. That is, items 1-3 are suitable on your list. Personal preference - point 1, then point 2, with a separate subdomain is technically more difficult, but gives some freedom for the future (it can really be a single host).
To specify alternative versions of the site, you can use the following construction support.google.com/webmasters/bin/answer.py?hl=en&answer=189077
For links like domain.com/username, I would redirect to the localized version, for example domain.com/en /username
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question