Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Bigul 1 day, 2 hours ago.

Assisted by: Bigul.

Author Posts
September 27, 2024 at 8:41 pm #16231230

maksimK-11

Background of the issue:
I'd like to use the same category slug in different languages (DE/EN) on my site hidden link. WPML automatically appends the language code, and I saw that the workaround is to edit the slug manually and remove the language code. However, after saving, the language code gets attached again.

Symptoms:
After manually editing the slug to remove the language code, the language code gets reattached upon saving.

Questions:
What am I missing when trying to use the same category slug in different languages?

September 28, 2024 at 2:43 am #16231517

Bigul
Supporter

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

In WordPress slugs should be unique, that is why the language code is automatically added to the translated term.

As a workaround. we have to Quick Edit the category term to remove the language slug.

Please try the steps suggested in the following errata and let us know your feedback.

https://wpml.org/errata/translated-term-slug-identical-to-the-original-term-slug/

--
Thanks!

Bigul