WPML

Overview of the Issue

Translating a term with the same slug as the original term will automatically add a suffix with the language code. This is because WordPress API does not allow to have more than one occurrence of a slug for a specific taxonomy.

Here’s an example of what we expect:

- http://example.org/city/paris/

- http://example.org/fr/city/paris/

Currently, a language suffix is automatically added to the translated term => http://example.org/fr/city/paris-fr/.

Workaround

This issue is fixed in WPML 4.8.0. Updating solves it on your site, so you only need this workaround if you can’t update yet.

As a workaround, you can use the following steps (or watch a screencast of the workaround (opens in a new tab)):

  • create the term first
  • update it with the “quick edit” link
  • change the slug value and click Update {Taxonomy name}

All known issues

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.