Good day all. I have a Prestashop site, with different languages AND different countries, some of these countries uses the same language, but different currencies, or have small differences such as options available or colors for the product, but the main product is the same.
this has caused some warnings on the webmaster tools on google, mainly caused by duplicate title, or duplicate descriptions or similar.
the problem is that the Australian items is an english speaking item, but has different currencies and a different URL from the UK one.
searching on the web I have seen that a good practice is to insert the hreflang
link with rel="alternate"
so basically, I would like to obtain something like this in the head of the page:
<link rel="alternate" hreflang="en-us" href="http://www.example.com/en/page.html" />
<link rel="alternate" hreflang="en" href="http://www.example.com/en/page.html" />
<link rel="alternate" hreflang="en-au" href="http://www.example.com/au/page.html" />
<link rel="alternate" hreflang="de" href="http://www.example.com/de/seite.html" />
In a perfct world, all the combinations should be taken from the database, but I could live also with a "more" static solution as well. Does someone knows:
1) is this a solution for the problem i've noticed in webmaster tools?
2) which could be the best way to handle the warnings for duplicate content in this case (if answer 1 is "no")
3) Is there a clean way to handle the "en-us"
(or any other combination) part?
4) Is there a clean way to handle the "/de/seite.html"
(or else) part?
I have developed a module to final handle it: http://www.matteobononi.it/prestashop_module_hreflang.php feel free to use it if you need.
The module works on Prestashop from 1.5 to 1.6, it adds the hreflang meta links in the head section of several page types.