This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing a 'Page not found' error when switching to the French translation of the homepage, despite the translation being completed.
Solution: We found that the homepage was set to display the latest posts, we recommended the following steps to resolve the issue: 1. Navigate to Dashboard > Settings > Reading > "Your homepage displays" section. 2. Change the setting to 'A static page'. 3. Select the default language homepage as the static page and save the changes.
If this solution doesn't look relevant to your issue, please feel free to open a new support ticket.
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.
Hi. After completing the translation of my Italian website in English, I've started the French translation. I have an issue with the homepage already: when I switch to French, I have an error message "Page not found" (see FRENCH error screenshot). The translation is completed, as you can see in the TRANSLATION IS OK screenshot.
I can safely send you information about how to connect to the staging environment where you can do whatever you want.
I've tried deleting the French page and re-creating it: same result.
I've also attached a copy of the Italian and English homepage, that are working as expected.
Could you please try the following steps and see if that helps?
- Edit the original page in the default language
- Make a small change and update it (You can undo the changes later)
- Update the French translation
If that didn't help, create a full backup of the database and website then go to WPML > Support > Troubleshooting page, and click the following:
- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Set language information
- Fix post type assignment for translations
Thanks Mohamed (and Happy Holidays) 🙂 I've tried both, first making a fake update: it did not work. Then clicking all those fixes in troubleshooting: after doing it, it was still not working, so I also did a fake update & update French like in option 1. Same result, still not working! I see "Page cannot be found" (in French).
I can give you access to my staging area where I am having this issue. Please note: other pages that I've already translated in French are working fine...
Please provide temporary access (WP-Admin) to the staging site so we can investigate this issue further.
Your next answer will be private, which means only you and I have access to it.
❌ Please backup your database and website before providing us with access details ❌
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.
✙ I would also need your permission to take a local copy of your site to debug the issue locally if needed.
If you don't see the form below, please don't add your credentials as they will be publicly exposed: hidden link
The homepage was set to display the latest posts in your WordPress settings, I changed it to show a static page and selected the Italian homepage then the issue was resolved. Please see here: hidden link
Please try the following steps on the production site and let me know if that helps:
1. Go to Dashboard > Settings > Reading > "Your homepage displays" section
2. Set it to the Static page option
3. Select the Italian page and save the changes
Can you now just tell me why I have 3 homepages that are "separated" in the 3 languages? Let me explain it better. Other pages are "unique": it's enough to me to edit the "Italian" page (for instance, I add a new text box), and the new text box appears also in the English and the French ones. If I do this in the homepage, it does not happen: I have to add the additional text box also to the French and the English pages, otherwise the text box is missing!