Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the slug of a translated page (French to English) is deleted after editing meta data with SEOPress, resulting in a 404 error. This problem persists even when SEOPress is disabled or replaced with Yoast, and despite setting WPML to not automatically translate slugs.
Solution:
We investigated the issue and found that it was related to the Events Manager and Duplicate Page plugins. Disabling these plugins resolved the issue. We recommend using plugins that are officially compatible with WPML, such as WP Event Manager.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please open a new support ticket. We also 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. For further assistance, you can contact us through 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.

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by romainD-28 1 week, 5 days ago.

Assisted by: Dražen.

Author Posts
September 2, 2025 at 9:31 am

romainD-28

Background of the issue:
I am trying to set up my meta data with SEO Press on a translated page. I expect to quick edit my pages' meta data for optimizing my SEO with SEOPress, without deleting my translated slug.

Symptoms:
Every time I save (or quick save) my English translated page (FR -> EN), my translated slug is deleted, and my translated page is disabled, resulting in a 404 error. All the links related to this page on my entire website redirect to the home of my website in this language. The problem persists even when I disable SEOPress or use Yoast, and it is not related to the SEO extension. I have set up WPML to not translate the slug automatically, but the slug is systematically deleted when I save. I have cleared all caches on the website: WPML, Divi, LiteSpeed Cache, Memcached, and Navigator cache, and tried all optimizations in the debug WPML page.

Questions:
Why is my translated slug being deleted when I save the page?
How can I prevent my translated page from being disabled and showing a 404 error?

September 2, 2025 at 9:47 am
September 2, 2025 at 9:48 am #17365098

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

please let me know when staging site is ready, and we can continue here.

Regards,
Drazen

September 2, 2025 at 10:07 am
September 2, 2025 at 10:11 am #17365256

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks, I checked, and it seems to work fine with Divi parent theme, happens only with your custom child theme.

I advise checking further your code to try and see what is the problem or advise with developer who created it.

If you need anything else related to WPML let us know and we will be glad to help,

Regards,
Drazen

September 2, 2025 at 12:29 pm #17366056

romainD-28

Thanks.

I tested myself with Divi parent theme and SEOPress enabled and problem still there.

Maybe you forgot to select "English" in the page list, and you edited the French page ?

The bug occurs only when you edit the translated page wich is English in my case.

Pages list > Click on English to isolate translated pages > Project page for example > Quick Edit > Save > Refresh page list > Slug is gone.

If the field is empty and you write the slug, it will save correctly,
If the field is already filled, and you save it without touch it, it will delete it.
You have to refresh before re open the quick edit modal.

September 2, 2025 at 1:11 pm #17366262

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for getting back, might be that I did not add new slug, so issue was not there.

Now I checked further and debugged the issue, seems to be related to Events Manager plugin and Duplicate page plugin, if I keep it disabled it works fine.

Video: hidden link

Please check and let me know if it works fine now.

Note that Events Manager is not compatible with WPML and may cause issues:
- https://wpml.org/plugin/events-manager/

I advise using officially compatible plugins like:
- https://wpml.org/plugin/wp-event-manager/

Regards,
Drazen

September 2, 2025 at 6:15 pm #17367349

romainD-28

Thanks for you help,

I installed a new Events extension and now everything works.

Thanks a lot!