[Resolved] Saving translated page delete the slug and disable my page
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.
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?
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.
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.