Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're noticing that WooCommerce is creating URLs that mix different category languages, resulting in duplicates like a Spanish URL mixed with German, and then a full Spanish URL, you're not alone. This issue can cause problems as it may appear in the search console, leading to bots detecting duplicate content.
Solution:
We are aware of this known issue, and our development team is currently working on it. You can find more details here: https://wpml.org/errata/wpml-translated-posts-accessible-through-original-language-category/. Although there isn't a workaround at the moment, it's important to note that this issue should not harm your site. The canonical and hreflang tags are correctly pointing to the appropriate URLs, which helps prevent search engines from indexing the incorrect ones. We recommend checking the URLs in your sitemap, resubmitting the sitemap to the search console, and then reviewing the results.

If this solution is not relevant to your case, because it's outdated or simply doesn't apply, we encourage you to open a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact us in the WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
March 28, 2024 at 1:07 am #15458545

romainC-14

Hi,

I’ve noticed that Woocommerce is creating URL that are working (and then duplicates) using different category languages.

Example with Spanish mixed with German : hidden link

And the same URL in full Spanish : hidden link

If i switch languages, let’s say from Spanish to French then back to Spanish it works.

Problem, is it appears on the searchconsole so bot are seeing duplicates.

Thanks in advance for your help.

March 28, 2024 at 4:20 am #15458657

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Romain,

Thank you for contacting WPML support, I’m happy to help you with this issue.

It is a known issue and our development team is aware of this
https://wpml.org/errata/wpml-translated-posts-accessible-through-original-language-category/

Currently, there isn't a workaround to fix the issue but we see that it wouldn't be harmful to your site because the canonical and hreflang are pointed to the correct URL on your site so the search engine doesn't index the wrong URL. Please check the attached screenshot.

If the wrong URL appears in the search console, I suggest you check the URL in the sitemap, re-submit the sitemap to the search console and check the results again.

Looking forward to your reply.
Thanks

XML Sitemap 2024-03-28 11-20-09.png
WM Doll 156cm (5ft1) TPE - B, C & H Cup - Realistic Love Doll 2024-03-28 11-08-42.png
March 31, 2024 at 12:30 am #15466893

romainC-14

Thanks for you help !
I’ll leave it like this then !