This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where WPML was translating a product link incorrectly on their live site. The French URL
https://www.plumka.be/article/couette-n110-ccol/
was being translated to
https://www.plumka.be/nl/article/dekbed-n110-ccol/
instead of the correct Dutch URL
https://www.plumka.be/nl/product/dekbed-n110-ccol/
. Although the button was showing the wrong URL, it redirected to the correct page upon clicking.
Solution:
1. We recommended checking WooCommerce > WooCommerce Multilingual & Multi-Currency > Store URLs to ensure the product permalink base is correctly translated to "product" in Dutch.
2. If the wrong URL was in the source code of a translated page, we advised updating the link on the original page, saving it, and reapplying the translation.
3. We provided a step-by-step solution:
- Go to WPML > String Translation and search for the keyword "produit". Delete the string and translation slug.
- Navigate to WPML > Settings > Post Types Translation and add the translation slug for the Product post type.
- Visit Settings > Permalinks and re-save the permalink settings.
- Re-translate the page.
4. We also fixed the issue on the live site and suggested running the "Clear cache in WPML" troubleshooting button in WPML > Support > Troubleshooting.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket 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.
This topic contains 6 replies, has 3 voices.
Last updated by 1 year, 4 months ago.
Assisted by: Long Nguyen.