This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to remove all '?lang=' links and ensure only the directory option is used for URLs. Despite updating translations on each product, the old '?lang=' links still appear.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Re-save the permalinks in your WordPress settings.
2. Navigate to WPML -> Settings -> Adjust link section and click on the button to adjust the links.
3. Flush any cache memory that might exist on your site to ensure changes take effect.
4. Double-check if the issue has disappeared.
If the problem persists, edit content in the original language, fix one of the links, save the changes, update the translation, and check the results.
Please note that this solution might be irrelevant if it's 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 issue continues, 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 reply, has 0 voices.
Last updated by 4 months, 3 weeks ago.
Assisted by: Carlos Rojas.