Hello, there was a need to add a version of the site in English. Consequently, the question arose, in what language will the site be displayed in search engines? Is it possible to make it so that if a person “googles” from for example the USA, the same description (description) of the website in English is displayed to him, m is similar for Russians from Russia. That is, the question is not specifically about how to make a website in another version of the language, since there are already prepared translation constants for the words, but how to make the search engine distinguish between these versions.

PS do subdomain. Ru is not an option, you just need to switch the language within the site, as in the same Vkontakte and so on. thank

    1 answer 1

    A favorite trick for web developers is to focus on the HTTP Accept-Language header. In the case of search engines, it does not fit, since this title is set by the search robot. Google probably has English installed, and Yandex has Russian.

    You must provide two pages with different URIs so that search engines can index both and display them in search results for different languages.

    Pages can be on different domains ( foo.com/page.html - foo.ru/page.html ) or in one domain ( foo.com/en/page.html - foo.com/ru/page/html ). The main thing is that pages in different languages ​​should link to each other using the link tag with the hreflang attribute hreflang .

    Details â„–1: https://support.google.com/webmasters/answer/189077?hl=en

    Details â„–2: https://en.wikipedia.org/wiki/Hreflang