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: Exception
This topic contains 20 replies, has 1 voice.
Last updated by Laura 3 days, 23 hours ago.
Assisted by: Laura.
Author | Posts |
---|---|
August 31, 2025 at 12:10 pm #17360418 | |
josephD-13 |
Background of the issue: Symptoms: Questions: Screenshot hidden link |
August 31, 2025 at 12:49 pm #17360469 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for contacting WPML support. Please update your WPML plugin and add-ons to the latest version, 4.8, to benefit from the latest bug fixes and improvements. This may not necessarily resolve your problem; however, we need to work with the latest code available to troubleshoot the issue effectively. You can check the latest released versions under "My Account -> Downloads" on this site. If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab. Please remember to backup your database before you proceed. If the issue persists after an update has been done, please try the following: 1. Delete the product slug from WPML → String Transaltion 2. Resave the permalinks in Settings → Permalinks 3. Retranslate the product slug. |
August 31, 2025 at 3:46 pm #17360575 | |
josephD-13 |
Hi, Thanks for getting back to me. I’ve followed the steps you suggested: I updated WPML and all add-ons to the latest version. I tried deleting the product slug from WPML → String Translation and removing the text, but it just reappears when I do that. I resaved the permalinks in Settings → Permalinks. The links do show correctly as translated, but simply saving them doesn’t change anything. On re-translating the product slug – are you suggesting I need to call it something different in Yoast? Ideally, I’d prefer not to do that as there are 750 products and it would take a very long time. Could you explain the reason why this step is necessary? Please could you advise on the next steps? I can provide access to a staging site if you’d like to test directly. Thanks, |
September 1, 2025 at 2:20 pm #17363001 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, Thanks for contacting us. Post types slugs needs to be translated in WPML > Settings > Post type translations, not in String Translations. Please try this: Let me know if this helps or if you need further assistance. |
September 1, 2025 at 3:00 pm #17363307 | |
josephD-13 |
Hi there, Thanks for the pointers — I’ve tried all of those steps. You can see my screenshot link attached. Just to clarify what I’m seeing: I deleted the slug strings in WPML > String Translation, set the “Product” slug in WPML > Settings > Post type translations, and then saved permalinks in Settings > Permalinks. However, the URLs still don’t update. If I go into the WordPress Permalinks settings and select Italian, the slug still shows in English rather than the Italian translation I set. In WPML’s Post type translations, the translated slugs do appear saved — so there seems to be a mismatch between what WPML shows and what the Permalinks screen (and front-end) are using. I did previously experiment with String Translation for slugs, so I’m wondering if something from that is overriding or stuck. Do you have any guidance on how to fully reset/flush slug translations for the product post type so the permalink structure picks up the WPML values? Happy to provide anything else you need (debug info, temporary access, etc.). hidden link |
September 2, 2025 at 7:47 am #17364584 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Please provide me with your site's credentials. |
September 2, 2025 at 10:07 am #17365216 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
This needs more debugging, I should deactivate all plugins. Would it be possible to create a staging site? |
September 2, 2025 at 10:20 am #17365275 | |
josephD-13 |
Okay. I will create a staging site I'll be about 20 mins. No edits/chnages on the live. Thanks |
September 2, 2025 at 12:39 pm #17366125 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Let me know when it's ready. I'm leaving a private reply in case you need to add credentials. |
September 2, 2025 at 2:20 pm #17366669 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
What have I done: - deactivated all the plugins and it worked. I noticed that instead of just "product" the slug was "/product", not sure if this had an impact. |
September 2, 2025 at 3:43 pm #17367066 | |
josephD-13 |
Thanks, so how do I fix that on live site? What was the conflict? |
September 2, 2025 at 4:00 pm #17367095 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
I don't know if the issue was with a 3rd party plugin or with the / in the slug. You can do the same as I did. |
September 2, 2025 at 4:21 pm #17367138 | |
josephD-13 |
Thanks for your reply! I did try your setting, which was pretty much the same as what I had tested before, and unfortunately it led to the same outcome — it updated all the URLs, not just the French one. I think the issue mentioned above is that it won’t delete the slugs or let me update the permalinks. Would you mind explaining specifically how you achieved that? When you say you did some debugging to solve it, what in particular did you do? It’s a bit difficult for me to replicate this on the live site without knowing the exact debugging steps you followed. |
September 2, 2025 at 4:45 pm #17367200 | |
josephD-13 |
I just tested your instruction on the staging site, and when I try it reverts back to updating all of them. So I basically I don't understand how you have done it? You will see the staging site is now doing the same as the live |
September 3, 2025 at 8:40 am #17368758 | |
Laura WPML Supporter since 05/2018
Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
I checked and now I can see the issue again, so I'm escalating to the 2nd tier. |