O
O
Onatskyi2020-02-05 18:25:22
Search Engine Optimization
Onatskyi, 2020-02-05 18:25:22

What is the best way to specify the locale?

What is the best way to specify the locale in the address?

site.com/about?hl=en
site.com/en/about

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AUser0, 2020-02-05
@AUser0

The first option is convenient in that the selected locale can be removed in the cookie / in the session / somewhere else, and then transparently used. And if you use this link only to switch between languages, it’s generally convenient, plus you can use the already configured language priorities in the browser.
The second option is handy for search engine spiders and proxy servers. But it is uncomfortable for users to follow these links, they will get to a specific fixed language, which does not depend on the priority of languages ​​in browser settings.

P
Page-Audit.ru, 2020-02-05
@PageAuditRU

The same puzzled.
Search engines strongly recommend using the second option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question