[Resolved] Multiple subpages in French cannot be accessed anymore
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.
I have a live website in 3 languages (NL/FR/ENG) and I added some local landing pages with a Custom Post Type.
This works but since then I have a problem with these pages in FR (just Elementor pages, nothing to do with my CPT).
All pages under hidden link are not accessible anymore, for example: hidden link (he removed the /devenir-aide-menagere/ before and I cannot reset the main page) hidden link hidden link hidden link hidden link hidden link
Re-saving permalinks didn't make any change.
About Yoast SEO Premium: I temporarily disabled the plugin but still doesn't work.
I also cleared the cache but no luck.
Thanks for your help.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I'd like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
You'll find the necessary fields below the comment section if you log in to leave the next reply. The information you provide will be private, meaning only you and I will be able to see and access it.
IMPORTANT
Please be sure to create a backup of the website and database before granting us access.
If you don't see the "wp-admin / FTP" fields, your login credentials for the post and website will be set to "PUBLIC." Do NOT publish the information unless you see the required wp-admin / FTP fields.
I may need to install a plugin called "All In One WP Migration" to create a copy of the website on which I can investigate the problem more thoroughly.
I would also be very grateful if you could provide a staging site on your server for this purpose.
If you have any questions about creating such a staging site, please contact your hosting provider. Please ensure that WPML is also registered on this staging site at https://wpml.org/de/account/websites/.
If you are unable to provide such a copy of the website for testing, please let me know on this ticket.
The private reply form looks like this: hidden link
When replying again, click "I still need assistance".
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any login information that was not specifically provided in the private reply form for this ticket.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Updraft Plus is not an ideal option as we do not have access to their Premium version.
I have tried to create a local copy using the plugin "All in One WP Migration", but the export fails:
Export mislukt
Could not write header to file. File: /data/sites/web/ls-housekeepingbe/www/wp-content/plugins/all-in-one-wp-migration/storage/a61lop0lah56/ls-housekeeping-be-20260128-104802-buw0e8de9oon.wpress
This usually means that the plugin attempted to open a new file in its storage folder but was blocked.
Please ensure /wp-content/plugins/all-in-one-wp-migration/storage/ is writable by the web server.
Typical permissions: 755 for directories, 644 for files.
Also, make sure that there is enough free space on the server for creating a package.
Hi Andreas, thanks a lot!
I currently only disabled the WPML String Translation plugin and the French submenus appear again. Will this change something to my setup? (slugs, ...) or can I keep it disabled for now?
I couldn't find out which "WP" strings I could safely remove.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
You do need WPML String Translation to run your site. there isnot any issue with deleting strings from WPML > String Translation. The worst thing that could happen is that a translation will be missing on the frontend. The strings can get registered again anytime.
On your site, the "WP" domain at the moment has only 2 strings, which are the title and tagline of your website. It seems the strings in question were already removed. In my case, they related to the CPT UI slugs.
Sadly, I do still see a 404 on hidden link.
There might be another string, causing an issue. I will keep investigating and then get back to you.