Skip to content Skip to sidebar

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

Problem:

The client is using ACF Pro to set up a custom post type (CPT) called 'Case Studies' and needs to translate the URL slug for different languages, aiming for a structure like '/references/case-studies/{cpt-title}' for English.

Solution:

We recommend following these steps:

1) Navigate to WPML >> Settings >> Slug Translations.
2) Enable the option: 'Translate base slugs of custom post types and taxonomies (via WPML → Taxonomy translation)'.
3) Scroll down to the Post Types Translation section.
4) Click on 'Set different slugs in different languages'.
5) Enter the translated slug for each language and save the changes.
6) Go to Settings >> Permalinks and click 'Save Changes' (no need to modify anything).
7) Clear all types of caches (plugin, browser, server, CDN, etc.).
For further guidance, refer to our documentation on translating page slugs and translating slugs for custom post type archives.

If this solution does not apply to your case, or if it seems outdated, please open 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. For further assistance, you can contact us directly through our 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 Bigul 1 week, 2 days ago.

Assisted by: Bigul.

Author Posts
July 16, 2025 at 10:54 am #17241172

jonasB-11

Background of the issue:
I'm using ACF Pro and have set up a CPT called 'Case Studies' via ACF's UI. I want the custom posts to show up under a specific page: /referenzen/erfolgsgeschichten/{cpt-title}. I have managed to do so by going to the advanced ACF settings in the URLs tab and changing the following: Set the 'Permalink Rewrite' to 'Custom Permalink' and set 'URL Slug' to 'referenzen/erfolgsgeschichten'.

Symptoms:
I need to translate the URL slug for other languages.

Questions:
How can I translate the URL slug for other languages?
What is the desired result for English: 'references/case-studies/{cpt-title}'?

July 17, 2025 at 8:59 am #17244545

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to assist you in resolving the issue.

Please try the following steps after taking a full site backup, and check if the issue is resolved:

1) Go to WPML >> Settings >> Slug Translations
2) Enable the option: “Translate base slugs of custom post types and taxonomies (via WPML → Taxonomy translation)”
3) Scroll down to the Post Types Translation section
4) Click on “Set different slugs in different languages”
5) Enter the translated slug for each language and save the changes
6) Go to Settings >> Permalinks and click Save Changes (no need to modify anything)
7) Clear all types of caches (plugin, browser, server, CDN, etc.)

For more details, you can refer to the following documentation:

https://wpml.org/documentation/getting-started-guide/translating-page-slugs/

https://wpml.org/documentation/support/translating-slugs-for-custom-post-type-archives/

--
Thanks!

Bigul