Hacker News new | ask | show | jobs
by itsprofitbaron 4560 days ago
Reddit tried to resolve it through, a code level setting of the lang within their source code. However, Google ignores all code-level language information including lang attributes and document type definitions (DTD)[1] etc because, some CMSes set this automatically.

However, Google over the years have also worked on their international/localisation identification of sites. As a result they allow webmasters to geotarget them within WMTs[2] which seems to resolve the Reddit issue.

Having said that, there are other methods to fix the issue as well such as using the geotarget option within WMTs to using the rel alternate tag etc.

[1] http://googlewebmastercentral.blogspot.co.uk/2010/03/working...

[2] https://support.google.com/webmasters/answer/62399