I have a website in Spanish and English.
When there isn't any subdomain selected the preferred language is taken from the browser preferred language or a cookie.
I have the following URLs
es.example.com
en.example.com
example.com
I want that when an user enter to es.example.com/any_url
the cookie is set and then is redirected to example.com/any_url
, but if it's a crawler then is not redirected.
As you can see there isn't any obscure intention here, is just so the URL is cleaner. Does this have in any kind of penalization by search engines?