N
N
Nazar Mokrinsky2012-09-02 00:43:10
Google
Nazar Mokrinsky, 2012-09-02 00:43:10

Localized search results

There are pages (dynamic), the content of which can be displayed in different languages, while the address of different language versions can either match or differ. Is it possible to somehow determine the language of the search bot and force it to index all language versions of the site so that the search results are as follows:
google.com - English version of the
google.ru page - Russian version of the
google.com.ua page - Ukrainian version of the
yandex page. ru - Russian version of the page
yandex.ua - Ukrainian version of the page

And so on by analogy.
Just do not need answers to the question “how to make multilingual on the site?”, I wonder if it is possible to crank out just such an implementation.
Content-language is given and always matches the language of the page. Is it possible to use <link> to specify all language versions and their addresses?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Huseynov, 2012-09-02
@nazarpc

Pages with the same content but in different languages ​​should have the same URL. They are different representations of the same object.
But since humanity has been studying for 13 years and has not yet learned how to work normally with HTTP 1.1, you will have to implement client logic on the server. You will have to make separate URLs and a common url, which will redirect temporary moved 302 to localized pages. And don't forget the vary header so that the proxy and the bot understand that this is a localized page.
And in what language to show the site in the search results, the search engine decides for itself. You can additionally prompt it with the Content-Language header. Maybe he will understand.

A
Andrey Matsovkin, 2012-09-02
@macik_spb

As far as I understand, search engines use a single database for all their "web faces". Therefore, the robot is most likely one.
Therefore, it is probably better to make unambiguous page addressing for each of the languages. And search engines (subject to indexing of all variants of pages) let them figure out what to give to the user, depending on the query language.

E
egorinsk, 2012-09-02
@egorinsk

Pages in different languages ​​should have different URLs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question