Welcome to WebmasterWorld Guest from

Forum Moderators: Robert Charlton & andy langton & goodroi

Message Too Old, No Replies

Website indexed - wrong language detected

11:02 am on Sep 5, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 7, 2009
posts: 61
votes: 0

I launched about 6 months ago a spanish version of an italian website, using a subdomain like es.mysite.com
After some months, the website has been indexed but the home page is detected as Italian.
The content is 100% spanish, and I'm already using the "lang" specification:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-es" lang="es-es">

I don't have already setup the language in google webmaster tools, since spanish is not only from Spain and I don't want to restrict results to google.es .

Is there any solution to help Googlebot detect the correct language or should I setup geotarget to Spain in google webmaster tools?
7:37 pm on Sept 5, 2010 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month

joined:Apr 30, 2008
posts: 2630
votes: 191

There is a recent thread that discusses incorrect language being detected on the page - you may find some suggestions there:

[webmasterworld.com ]
7:51 pm on Sept 5, 2010 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
votes: 6


This isn't likely to be a direct cause, but the above indicates Spanish and the country of Spain - if you are targeting a language in general and not a particular variant, just use the two-letter language code: