Skip Navigation

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 Long Nguyen 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
March 2, 2024 at 12:43 pm #15365636

pascalM-12

HI,

hidden link - please refer this video

We are using Avada button to add button and for link we are selecting product link( France ) ( you can see in above screenrecord )

Example : hidden link
Automatically wpml translating link of this product in netherlands

the actual link In netherlands ( hidden link )

but showing button( hidden link )

but after clicking it was redirecting to correct url.

so I am trying to understand why wpml translate hidden link TO hidden link if the correct url in NL is hidden link

Please check attached screenshot too.

plumka-2.png = wrong link showing but while clicking on that it landing in correct product page.

'Thanks in advance

plumka -2 .png
March 2, 2024 at 3:58 pm #15365885

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Please go to WooCommerce > WooCommerce Multilingual & Multi-Currency > Store URLs and verify if the product permalink base is translated to "product" in Durch.

This should be the reason for Dutch products redirecting to hidden link.

Do you have the wrong URL inside the source code of one of your translated pages? If so, please try to update the link on the original page, save the page, and apply the translation again.

Let us know in case further assistance will be required.

Best regards
Andreas

March 4, 2024 at 6:37 am #15367557

pascalM-12

Hi,

Sorry , Not like that,

so I am trying to understand why wpml translate
french = hidden link
correct url of NL =hidden link

But url showing in page = hidden link

But while clicking on this it was redirecting to correct page.

Thanks

March 4, 2024 at 9:48 am #15368497

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi Pascal,

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

Please go to WPML > Languages > Enable option "Adjust IDs for multilingual functionality" > Save and re-translate the page to see if it helps.

If it does not help, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/

Looking forward to your reply.
Thanks

March 5, 2024 at 9:59 am #15373505

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi,

I fix the issue with the following steps:
1. Go to WPML > String Translation > Search for the keyword "produit" > Delete the string and translation slug.
2. Go to WPML > Settings > Post Types Translation > Add the translation slug for the Product post type.
3. Go to Settings > Permalinks > Re-save permalink settings.
4. Re-translate the page.

Looking forward to your reply.
Thanks

Screenshot 2024-03-05 at 16.58.33 2024-03-05 16-58-53.png
String Translation ‹ Plumka — WordPress 2024-03-05 16-56-20.png
March 6, 2024 at 10:24 am #15378421

pascalM-12

Hi,

Yes, it was working well in our staging site but in our live same settings done.. but still it was not working.

hidden link - same User logins of staging site.

Fr - hidden link
NL - hidden link

Thank you.

March 7, 2024 at 1:26 am #15381905

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi,

I fix the issue on your live site also, see the attached screenshot. Running the troubleshooting button "Clear cache in WPML" in WPML > Support > Troubleshooting, should help in this case.

Thanks.

Screenshot 2024-03-07 at 08.23.04 2024-03-07 08-23-33.png