Skip to content Skip to sidebar

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.

This topic contains 4 replies, has 1 voice.

Last updated by Carlos Rojas 1 month ago.

Assisted by: Carlos Rojas.

Author Posts
September 16, 2025 at 3:38 am #17404161

tadsikanS

Background of the issue:
I am trying to ensure that the permalink structure for the /brand URLs on my site hidden link is correct. Currently, the configuration is set with Taxonomies Translation for Brands (product_brand) as Not Translatable and Slug Translations disabled. After flushing permalinks and clearing the object cache, the paths display correctly.

Symptoms:
The brand URLs are incorrectly showing as /แบรนด์/[brand-name] instead of /brand/[brand-name] in the English version. This issue reoccurs daily after initially being corrected.

Questions:
Why do the brand URLs revert to the incorrect path after being corrected?
How can I ensure the permalink structure remains consistent for the /brand URLs?

September 16, 2025 at 6:21 am #17404369

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

Hello! Before one of my colleagues takes your case, I would like to point out that we have an erratum page for the Brands taxonomy in https://wpml.org/errata/translating-product-brand-slug-can-lead-to-404s/

If you have not yet, please give it a try.

September 17, 2025 at 6:27 am #17408156

tadsikanS

Hello,

After we manually set a static value for the brand slug, the /brand translation disappeared, but /th still appears (see attached image: 17404161-Screenshot_2025_09_16_100514.jpg).

Additionally, in the brand slug translation, it still shows /en (default language), when it should be /th (translation language).
see attached image: Screenshot 2025-09-17 132444.jpg

Thank you

Screenshot 2025-09-17 132444.jpg
September 17, 2025 at 8:41 am #17408540

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
My name is Carlos, and I will continue working on this ticket

1.- I understand that your goal is to display the brand's URLs like /brand/[brand-name] in both languages. If this is incorrect, please provide an example of the URL structure you desire for the brands.

2.- Please share the access credentials to the site in your next message, which I have set private. That will allow us to reproduce the issue and check the credentials.

Confirm you have created a full site backup that you can restore if necessary.

September 17, 2025 at 11:58 am #17409301

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for sharing the credentials requested.

The default site language is English, which is the reason why the product brands' URLs have /en/

To change the default language you must go to WPML -> Languages -> Site Languages -> Click on 'Change default language'