This thread is resolved. Here is a description of the problem and solution.
Problem:
The client's website is set up with English pages and Spanish translations under the '/es/' URL prefix. However, WPML is adding an extra language code suffix to the URLs of taxonomy archive pages, resulting in URLs like 'https://uncorkmexico.com/es/tienda/varietal/nebbiolo-es/' instead of the expected 'https://uncorkmexico.com/es/tienda/varietal/nebbiolo/'.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Navigate to WPML > Taxonomy Translation.
2. Use the dropdown menu to select the Taxonomy that contains the Category.
3. Locate and edit the Spanish translation of the "Nebbiolo" taxonomy.
4. In the editing popup, you will find a field labeled 'slug'. Remove any extra parts from the slug and save your changes.
For a clearer understanding, you can refer to this screenshot: http://tinyurl.com/ywkmoc7s
If this solution doesn't look relevant to your issue, please open a new support ticket here: 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 2 voices.
Last updated by 1 year ago.
Assisted by: Prosenjit Barman.