Skip to content Skip to sidebar

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

Problem:
You are working on a site under development and want to have uppercased translations of custom post type slugs using WPML. However, when you enter an uppercased slug, it saves all as lowercase.
Solution:
Unfortunately, it is not possible to save uppercase slugs due to a restriction from the WordPress core. WordPress only allows lowercase letters in slugs. You can read more about this restriction on this link.

If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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.

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 3 replies, has 0 voices.

Last updated by Carlos Rojas 1 week ago.

Assisted by: Carlos Rojas.

Author Posts
August 22, 2025 at 8:43 am #17339676

juricaV

<b>Background of the issue: </b>
I am working on a site under development and want to have uppercased translations of custom post type slugs using WPML. I attempted to set this up by going to Settings -> Post type translations.

<b>Symptoms: </b>
When I enter an uppercased slug, it saves all as lowercase.

<b>Questions: </b>
How can I save uppercased translations of custom post type slugs in WPML?

August 22, 2025 at 9:08 am #17339801

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,
Thank you for contacting us

It its not possible to save the uppercase slugs because it is a restriction from the WordPress core. You can read more in this link: hidden link.

Regards,
Carlos

August 22, 2025 at 9:19 am #17339836

juricaV

Hello Carlos,
i managed to get uppercased post slugs when i enter it in lowercase in "wpml settings -> post types translation" and went to string translations to just set the uppercased letters. My issue is that when i go in wpml settings to save something else, after all of this, post types translations go from uppercase to lowercase even when i changed them to work in "string translations".

August 22, 2025 at 9:20 am #17339839

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi there,

Yes, that is the expected behavior.