This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wants to show the default language in the /en/ subdirectory on their site. Although the page loading works with this structure, the internal links for the original language do not include the /en/ directory, which breaks the internal linking structure.
Solution:
We recommended the client to first resave the Language URL settings under WPML >> Languages >> Language URL format, then go to Settings >> Permalinks and resave those settings as well. After these steps, it's crucial to clear all types of caches to check if the issue persists.
If internal links still do not reflect the /en/ directory, we suggested editing the homepage in English and making minor content changes to see if the links update accordingly.
If this does not resolve the issue, using a plugin like Better Search Replace was advised as a last resort, with a strong recommendation to take a full site backup before attempting this.
Please note that this solution might be outdated or not applicable to your specific case. 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 the problem persists, please do not hesitate to open a new support ticket 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.
This topic contains 1 replies, has 0 voices.
Last updated by 2 months, 2 weeks ago.
Assisted by: Bigul.