[Resolved] Duplication of content under translated taxonomies
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.
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
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.
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.
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.
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.
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 ?
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.
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.