Translated and localised websites can cause a lot of problems for your site’s search engine rankings. Google and the other search engines penalise websites which they deem to have the same or similar content. Their algorithms crawl through websites and check for duplicate content by checking the text, images, alt tags, metadata, link structure and layout.

If all these elements, and more, meet their criteria for duplicate content the search engine will make a decision as to which version of a particular web page is the original. The ones deemed to be duplicates will be removed from the index and will take a lot of work to get out again.

Websites localised using the same language but designated for a different region can have the same problem.

For example, if you have a Spanish language site targeted at the market in Spain which needs to be localised for the Mexican, Argentinian and the Spanish speaking market in the USA. If all four websites had very similar content, only one may get to actually appear in the search results, even though they are all on different country domains.

Don’t panic – there is a solution!

To avoid Google’s duplicate content penalty you need to tell it that certain sites are for selected territories. As well as avoiding the penalty it will also help the site’s visibility in the local searches you are looking for.

In our example we’ll assume that your Spanish site, .es, is the original site and that the others are localised versions. On the main site all you need to do is add a simple line of code in the header section of your site, which indicates to the search engine to treat the sites not as duplicates but as local versions.

  • Original Spanish website address –
  • Mexican website address –
  • Argentinian website address –
  • US website address –

The code to be placed in the header section of is as follows:

<link rel=”alternate” hreflang=”es-mx” href=”” />

<link rel=”alternate” hreflang=”es-ar” href=”” />

<link rel=”alternate” hreflang=”es-us” href=”” />

The key part of the code is: hreflang=”es-us”. The first two characters denote the language version of the site and the characters after the dash indicate the region which the language refers to; in this case, a Spanish language website (es) for the market in the USA (us).

Laying out the code correctly is vital to the success of this localisation technique. Luckily the Google Webmaster tools page gives very clear instructions on how to use the correct code, language and region indicators.

Get this right before you launch your translated site

If you go through this process after you have launched your translated or localised website it may take a while for Google to return, index your sites properly and remove any penalties it has imposed for duplicate content. Getting this part right is one of the steps we would suggest right at the beginning of your project to ensure your new site hits the ground running.

If you have a new website translation project, we’re happy to talk through the options with you to ensure you get the best results possible.