Welcome to WebmasterWorld Guest from

Message Too Old, No Replies

Website indexed - wrong language detected



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

5+ Year Member

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 Sep 5, 2010 (gmt 0)

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month

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 Sep 5, 2010 (gmt 0)

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


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:

Featured Threads

Hot Threads This Week

Hot Threads This Month