I did all my work in a staging site (hidden link) and when I completed it I published to the production site (hidden link). When I switch the language to French in the staging site it goes to the correct translation pages. But in the production site, it reverts back to a previous version of the site which was translated before WPML was used on the site.
Welcome to WPML support. Let's first do a check and see why this URL:
hidden link
Contains old content.
- Go to "WordPress Dashboard > WPML > Languages > Language URL Format".
- Check the "Language name added as a parameter" checkbox.
- Click the "Save" button.
- Go to "WordPress Dashboard > Settings > Permalinks".
- Click the "Save" button to flush the permalinks cache.
The steps above will force WPML to have the French language with this link format:
hidden link
See what happens then. If it works ok, then it shows there is a force redirection going on your hosting service provider and you need to ask for help from them.
You can turn back the option to " Different languages in directories" to see if now it works ok or not
Hi Christopher!
That resolved the issue! Thank you so much for the insight. I will look for the redirect to get it cleared out.
I'll keep this open until I get it all resolved.
Thank you!