This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed assistance with configuring the WPML plugin to always display the language code in the URL, with "fr" as the default language.
Solution:
We recommended the following steps:
1) Perform a full site backup.
2) Navigate to WPML>>Languages.
3) Scroll down to Languages URL format.
4) Select the Use directory for default language option under Different languages in directories.
5) Save the changes.
6) Go to Settings>>Permalinks and save the changes again.
For more detailed instructions, please refer to our documentation: Setting language URL format.
If this solution does not seem relevant to your issue, please do not hesitate to open a new support ticket with us here.
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 is split from https://wpml.org/forums/topic/wpml-configuration-completely-broken-without-our-intervention/