This thread is resolved. Here is a description of the problem and solution.
Problem:
The client attempted to change the URL format on their WordPress website to differentiate between languages (e.g., https://www.example.com/fr/ for French and https://www.example.com/en/ for English), but encountered an issue where changing the URL would always redirect to the homepage of the default language.
Solution:
We recommended the client to check for potential conflicts with other plugins by following these steps:
1. Deactivate all plugins except for WPML CMS.
2. Temporarily switch to a default WordPress theme, such as Twenty Twenty-One.
This process helps determine if another plugin or the theme is causing the issue with the URL format. We also advised the client to back up their database before performing these tests.
If the problem persists or if this solution is not applicable due to updates or different circumstances, 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 further assistance is needed, please do not hesitate to open a new support ticket at WPML support forum.
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.