Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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?

share|improve this question
You should red up on Google's new multi-lingual guidelines – John Conde Jan 20 '12 at 15:12
Thanks, the 301 is suggested then, with a cookie for the language. I guess the crawlers do take the cookie in account. – Zequez Jan 20 '12 at 15:28
Maybe I should make that an answer then! – John Conde Jan 20 '12 at 15:30
Maybe you should. – Zequez Jan 20 '12 at 20:06
I've gone ahead and done that. – John Conde Jan 20 '12 at 20:49
up vote 0 down vote accepted

You should read up on Google's new multi-lingual guidelines.

share|improve this answer
And here is more from Google about multi-lingual. – Zequez Jan 20 '12 at 23:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.