This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that after adding local landing pages with a Custom Post Type (CPT), some pages in French were not accessible anymore, showing 404 errors. The issue seemed related to URL conflicts between the CPT and existing pages.
Solution:
We recommended the client to first try re-saving permalinks in Settings → Permalinks to flush rewrite rules and to temporarily disable the Yoast SEO Premium to test if redirection rules were interfering. After further investigation, it was found that the issue was due to a conflict where the same slug was used for both a CPT and a page. The solution involved ensuring unique slugs for CPTs and pages. We advised checking and editing slugs at WPML > Settings > Post Types Translation.
Please note that this solution might be outdated or not applicable to your specific case. If the issue persists, we 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. If needed, please open a new support ticket at WPML support forum for further assistance.
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 18 replies, has 1 voice.
Last updated by 2 months, 3 weeks ago.
Assisted by: Andreas W..