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 multilingual site and have added a new language using WPML. While the posts are translated correctly, the slugs and URLs are not being translated.
Solution:
To enable or change the translation of slugs and URLs, you should adjust the permalink settings for translated content. Here are the steps you can follow:
1. Navigate to WPMLSettings.
2. Under Translated documents options, set the Page URL to "Auto-generate from title (default)".
3. Re-translate the affected posts/pages into the new language to ensure the new URL settings are applied correctly.
For more detailed guidance, please refer to our documentation on translating page slugs.

If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, 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 26 replies, has 0 voices.

Last updated by Carlos Rojas 2 months, 3 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
May 9, 2025 at 12:43 pm #17016677

pawelF-5

You do not need to know the language, anyway.

It's all about the post title SLUG part:

https://wpml.org/documentation/getting-started-guide/translating-page-slugs/#:~:text=URL%20with%20custom%20post%20type%20and%20page%20title%20slugs

In the two examples sent, you can see that the slug is in English and not Czech. The second example is an untranslated Polish slug.

May 9, 2025 at 1:51 pm #17016992

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,
There is an inconsistency between the first link you shared (for post hidden link) and the configuration of WPML on your site.

Your site is configured to use the Advanced Translation Editor (ATE), and it is not translated using ATE. However, the link you shared takes me to the translation using the Classic Translation Editor (CTE).

Please translate the post using ATE and double-check if you can translate the slug.

May 9, 2025 at 1:55 pm #17017008

pawelF-5

I write all the time that these texts are translated automatically. Not by the ATE panel. And that's the problem. Through ATE is ok, but automatically translated texts are not.

May 9, 2025 at 2:12 pm #17017071

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi,

1.- Can you describe how you automatically translated the content?

2.- Also, was the actual configuration in place before the automatic translation of the content?

May 9, 2025 at 2:42 pm #17017135

pawelF-5

WPML > Translation Management > I mark post > Translate your content > Selects: Translation Method = Translate automatically > Translate.

hidden link

The configuration has not changed for a very long time.

May 12, 2025 at 9:06 am #17021657

Carlos Rojas
WPML Supporter since 03/2017

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

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

Thanks!

Please deactivate the 'Permalink Manager Pro' plugin, update a translation, and double-check if the issue has disappeared.

May 16, 2025 at 12:15 pm #17041612

pawelF-5

Can you add some test credits to the test environment so I can test it?

May 16, 2025 at 12:34 pm #17041703

pawelF-5

I needed credits, but they don't work for automatic translation anyway. Can you refund me these credits from the staging environment?

Unfortunately, when I automatically translate a post, even with the “Permalink Manager Pro” plugin disabled, the slug is not translated.

When I translate posts using the editor (ATE), the slug/URL of the post is not translated automatically, but the editor forces it to be translated, and so far this has not bothered me.

You can check it on my staging version.

May 19, 2025 at 7:18 am #17046600

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi there,

I will add some credits and run tests to double-check if the issue disappears. Before doing these tests, I kindly ask you to update all outdated plugins that appear in this link: hidden link

Once you let me know all the plugins are up-to-date, then I will deactivate all plugins, except the WPML ones, activate a default WordPress theme and check if the slugs are automatically translated.

May 19, 2025 at 9:52 pm #17050613

pawelF-5

What I could I updated.

I would appreciate your test.
But please don't deactivate FluentSMTP and Password Protection 🙂

May 20, 2025 at 7:07 am #17051093

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello, and thank you for your message.

I investigated the issue and found that the solution was to adjust the permalink settings for translated content. Specifically, I changed the configuration under WPML → Settings → Translated documents options → Page URL to “Auto-generate from title (default)”.

You can see the corrected behavior here:
hidden link

To apply this fix across your Czech content, you will need to re-translate the affected posts/pages into Czech. This ensures the new URL setting is properly applied to the translated versions.

Additionally, I’ve refunded the automatic translation credits used during testing, so there will be no charge for those translations.

Please let me know if everything is working as expected now or if you need further help.

May 20, 2025 at 7:12 am #17051105

pawelF-5

Great, thank you so much 🙂

May 20, 2025 at 7:33 am #17051167

Carlos Rojas
WPML Supporter since 03/2017

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

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

You are welcome 🙂

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to assist you.
Have an excellent day!