Skip to content Skip to sidebar

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

Problem:
If you're experiencing content duplication with WPML when using translated taxonomies in URLs, where using a taxonomy translation in the URL displays the same content but doesn't redirect to the original URL, this summary is for you.
Solution:
First, we recommend updating your WPML plugin to the latest version (4.6.11) and all related add-ons to ensure you have the latest bug fixes and improvements. You can find the latest versions under 'My Account -> Downloads' on the WPML site. Detailed instructions for updating can be found here: http://wpml.org/faq/install-wpml/.
Ensure to back up your database before proceeding with the update. You might consider using a plugin like Duplicator (http://wordpress.org/plugins/duplicator/).
After updating, if the issue persists, try deactivating non-WPML plugins to check if the problem still occurs.
Unfortunately, as of now, there is no available workaround for this specific issue. However, our development team is aware and working on a fix. You can monitor the status of this issue here: https://wpml.org/errata/wpml-translated-posts-accessible-through-original-language-category/.

If this solution does not apply to your case, or if it seems outdated, we 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 the problem persists, please open a new support ticket at 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 10 replies, has 2 voices.

Last updated by Andrey 1 year, 11 months ago.

Assisted by: Andrey.

Author Posts
May 21, 2024 at 2:43 pm #15651367

clarenceM

Hello,
We are experiencing content duplication from wpml when using translated taxonomies in urls.
Using a taxonomy translation in the url gives the same content but doesn't redirect to the original url.

Here are a few examples :
All of the following urls are the same content in english
hidden link
hidden link
hidden link
hidden link
hidden link

And all of the following urls are still the same content but in french
hidden link
hidden link
hidden link
hidden link
hidden link

How can we avoid this content duplication ?

Thanks,
Lucas from Dacast

May 21, 2024 at 2:59 pm #15651544

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Could you please update your WPML plugin to the latest version 4.6.11 and add-ons to benefit from the latest bug fixes and improvements? This may not necessarily resolve your problem, however, in order to troubleshoot the issue best we need to work on the latest code available.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

If you do not see the updates, you might need to click on the Check for updates button in the Plugins → Add New Plugin → Commercial tab.

Remember to backup your database first before you proceed! You can use a plugin for this if you like (example: http://wordpress.org/plugins/duplicator/)

Please ensure that you update WordPress, the current theme, and all relevant plugins.

Let me know if the issue persists after an update has been done. If it is, check the problem with non-WPML plugins deactivated.

May 22, 2024 at 8:07 am #15655632

clarenceM

Hello Andrey,
I have updated the wpml plugin & addons we use to their latest versions.

May 22, 2024 at 7:17 pm #15659646

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Does the same issue occur if you temporarily disable all the plugins except WPML? Where on your website do you have these URLs? I want to understand where WordPress has generated them and how this affects your website.

May 23, 2024 at 12:31 pm #15662940

clarenceM

Yes this issue still occurs when ONLY "WPML Multilingual CMS" is activated.
When this plugin is disactivated, the "/blog-es/ott-cloud", "/blog-pr/ott-cloud", etc... all redirect to /blog/ott-cloud/.

I am not sure what you mean by "where" on my website I have these urls. I too would like to know how they are generated. We only found these urls through warnings in our SEO tools.

May 24, 2024 at 2:41 pm #15668400

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

I am not sure what you mean by "where" on my website I have these urls. I too would like to know how they are generated. We only found these urls through warnings in our SEO tools.

It looks like those URLs were created manually. There probably isn't a place on your current website or in the WordPress dashboard where you can click to open the incorrect link (for example, on the taxonomies page).

We have recently released a new version of WPML 4.6.11. You can update the plugins again.

If you don't see the updates, you might need to click the "Check for updates" button in the Plugins → Add New Plugin → Commercial tab.

May 24, 2024 at 2:58 pm #15668452

clarenceM

Hello Andrey,
I have updated to version 4.6.11 but this issue is still there.

I just don't understand why the taxonomy translations in url are serving the same content. I would expect the spanish version of the taxonomy to redirect to the spanish version of the website (/blog-es/ott-cloud -> /es/blog-es/ott-cloud).
Or even just don't allow the taxonomy translations in the url ? It just seems weird that all translations of a taxonomy serve the exact same content. Is this the intended behavior ? Is there a fix ?

May 24, 2024 at 3:06 pm #15668454

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I will check this on the local installation and keep you posted. However, I don't think it affects your website, as those URLs are manually generated.

May 27, 2024 at 12:44 pm #15674234

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I appreciate your patience. I have tested the issue you reported, but I wasn't able to replicate it in a fresh local installation. Have you also updated your WordPress and the current theme, if necessary? Please upload a screenshot of the Settings → Permalinks page.

May 28, 2024 at 6:43 am #15676339

clarenceM

Here's the custom structure we use for permalinks.

permalink_structure.png
May 28, 2024 at 1:21 pm #15678889

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for updating me. I was able to replicate the issue, which has already been reported to our development team. At the moment, we don’t have a workaround available.

Once the issue is resolved, the status of this link will be updated: https://wpml.org/errata/wpml-translated-posts-accessible-through-original-language-category/