How search engines treat multilingual websites where language is stored in Cookies?


Develop a website for an international domain for easy localization into other languages in the future. I would like to know how search engines treat the sites where the language is dynamically determined (the language of the browser or, say, IP) and then stored in the Cookies. The user will be able to change the language of the site in his basement. A good example of such site - Vkontakte. I know that there are more educated ways to specify the language:

  • To buy a domain, for example and
  • To make a subdomain, for example, and
  • Add language on all links, such as

But I heard that search engines determine the first two options as different sites, and the third option separee in implementation in the sense that all links have to specify the language using a function such as (best guesses):

<a href="/<?php current_language(); ?>/prices"></a>

But about the implementing method using Cookies, I'm asking about, I have nothing sensible could not naguglit. Share your opinions and experience please.
1 answer
July 8th 19 at 11:48
IMHO, they are still there in the cookies. Yandex and Google recommend to do so:
So, if I'm on all of my pages will show

<link rel="alternate" href="full-address-links" hreflang="x-default">

and the user language will be automatically detected, then the search engines will correctly pick up the language in the description of the link in search results? Do I understand correctly? - clifton83 commented on July 8th 19 at 11:51
No, here they write of course is not very clear.
In the help a little more developed:

Cm. subsection "Page with automatic language detection". - Carroll_Cass commented on July 8th 19 at 11:54

Find more questions by tags Internationalization and localizationSearch enginesSearch engine optimization