Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

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
1  
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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.