This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to configure the URL structure for translated pages on your site using WPML, aiming to retain the default language slug after the domain and language code. However, the translated page's slug changes to the translated language, resulting in URLs not maintaining the default language slug.
Solution:
Although WPML does not have a built-in option to keep the default language slug in translated URLs, you can achieve a similar result by following these steps:
1. Navigate to WPML → Settings → Page URL and set it to "Translate".
2. Manually set the slug in the translation editor to match the original.
3. Enable the option "Copy from original language if translation language uses encoded URLs".
4. Visit
/wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Flanguages.php&trop=1
and set "Encode URLs" to "Yes".
If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please 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.
This topic contains 1 reply, has 0 voices.
Last updated by 1 month, 1 week ago.
Assisted by: Bruno Kos.