This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where after switching from the Linguise language plugin to WPML, the URL slug for Portuguese changed from 'pt' to 'pt-pt', and they want to revert it back to the original 'pt' slug.
Solution:
If you're experiencing this issue, we recommend creating a custom language in WPML where you can specify the desired language code. Here's how you can do it:
1. Go to WPML > Languages.
2. Under 'Edit Languages', click on 'Add languages'.
3. Enter the language name, code (in this case, 'pt'), and other details.
4. Save your changes.
This should help you set the URL slug to your preferred format.
Please note that this solution might be irrelevant if it's outdated or not applicable to your 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 issue persists, please open a new support ticket at WPML support forum 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 3 months, 2 weeks ago.
Assisted by: Lauren.