Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to change the slug from 'groups' to 'packages' for the English version on your WordPress site using WPML, but you are unable to rewrite the English slug even though you can do it for other languages.
Solution:
This issue occurs because WPML allows the translation of custom post type slugs but does not permit changes to the original slug that is registered in the code by the theme or plugin. As a workaround, you can select any language in the WPML language dropdown and then translate the slug to English as desired. However, this method may not always be reliable. The most effective solution is to modify the rewrite slug directly in the custom code where the post type is registered.

If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum at 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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Andrey 9 months, 3 weeks ago.

Assisted by: Andrey.

Author Posts
July 14, 2025 at 2:16 pm #17234372

matejS-14

Background of the issue:
I am trying to change the slug on my website hidden link from 'groups' to 'packages'. I am using WPML to manage translations for my WordPress site.

Symptoms:
I can only translate the slug for two other languages, but not for the English version. I found where to translate it, but I cannot rewrite it.

Questions:
How can I change the slug from 'groups' to 'packages' for the English version using WPML?
Why am I unable to rewrite the slug for the English version when I can do it for other languages?

July 14, 2025 at 3:29 pm #17234778

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Thank you for contacting WPML support.

What you’re experiencing is expected behavior. While WPML allows you to translate custom post type slugs, you cannot change the original slug defined in the code, as it is registered by the theme or plugin.

As a workaround, you can try changing the slug language to any option in the language dropdown, and then translate it to English as you desire

However, please note that this method might not work reliably in all cases, and I cannot guarantee the outcome.

The most reliable solution would be to change the rewrite slug (e.g., "groups") directly in the custom code where the post type is registered.

Slug-translation-WPML.png