This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with the permalink structure for brand URLs on their multilingual site. The URLs are not consistently displaying in the correct language format, showing /th/brand/[brand-name] in the English version and /en/brand/[brand-name] in the Thai version, despite settings and cache being correctly configured.
Solution:
1. We recommended checking the erratum related to translating product brand slugs, which can lead to 404 errors. This is detailed at https://wpml.org/errata/translating-product-brand-slug-can-lead-to-404s/.
2. We identified that the default site language setting was causing the URLs to display incorrectly. To resolve this, the client should:
- Navigate to WPML -> Languages -> Site Languages.
- Click on 'Change default language' to set the appropriate default language.
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. If issues persist, please open a new support ticket.
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.