Forum Moderators: Robert Charlton & goodroi
now is i do an advanced search, with the site operator, and return only results in the English language, i have only about 63 pages indexed.
this leads me to the presumption that the other 1650 odd are being detected in languages other that English. this is confirmed by doing site searches in different languages, which are showing results for those languages.
now i know everyone says meta tags are dead, but how else can i inform google of the correct language that my site is written in.
this is a concern for me, as my site is targeted towards the uk, and i notice that google.co.uk often only returns results in the english language.
can anyone offer any advice or points of view?
<html lang="en">
...should work.
For the product names you can do something along the lines of:
<p>Here's some text talking about this <span lang="fr">Produit</span></p>
thanks very much for your input.
just to clarify:
already have html tag attribute in place: <html lang="en">
already have the language meta-tag: <meta http-equiv="content-language" content="en">
have just added the Content-Language server header.
site is hosted in the UK, with a .com TLD.
have specifed the desired target country in google webmaster tools.
whois info is UK address.
so basically its already pretty optimised for geographic search ranking.
the one thing i have not yet tried is adding the lang attribute to the actual line which contains the product name in a different language, but will do this next.
eg. <span lang="en">spanish product name</span></p>
to be honest, i'm not sure if the fact the google is obviously detecting the wrong language on the document level (not domain level), is actually having any impact on my ranking. any thoughts here?
but just in case it is, i want to do everthing possible to try to set it to the correct language, as 95% of our business is from the UK.
It's worth noting that some individual pages ALSO show up when searching for pages in French or whatever, even if they also show up when searching for pages in English.