We have an e-commerce website running on Wordpress with Woocommerce, WPML & Yoast SEO.
Our website is currently translated in 2 languages:
- French (on
- English (on
Our slugs are translated:
On every page, we have the current meta:
<html lang="fr-FR"> <head> <link rel="alternate" hreflang="fr-fr" href="https://example.org"> <link rel="alternate" hreflang="en-gb" href="https://example.org/en/"> </head> </html>
fr-FR is the current language and the URLs in href correspond to the related URLs in other languages.
Yoast SEO auto-generate the sitemap with URLs (for every languages).
The problem is that Google mark our pages as duplicated and reference only one language.
For some pages such as
/en/product/sample) Google choose the english URL and for some such as
/shop) Google choose the french URL.
What can we do to avoid this problem of duplicated content ? Actually we only have the english version referenced on Google (and for some pages, french version).