Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 6 replies, has 0 voices.

Last updated by Shekhar Bhandari 1 day, 9 hours ago.

Assisted by: Shekhar Bhandari.

Author Posts
April 23, 2026 at 5:04 pm #17991006

bergmans23

Hi WPML friends,
I'm building a smal site in 5 languages for a client of mine and just before going live, they ask me to change the slugs of a custom post type.
No problem, but after changing the slug, 4of the 5 language versions of these posts disappear.
I jumped back to a backup version, but before trying it again, I would like to ask you for help!
Thanks in advance!
Bye
Ward

April 24, 2026 at 8:53 am #17992170

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

After changing the CPT, could you please go to WPML-> Support ->Troubleshooting and click the below buttons:

+ Clear Cache in WPML
+ Set Language information
+ Fix element types collation
+ Remove ghost entries from the translation tables
+ Assign translation status to duplicated content

Does this help? if not, to debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

April 28, 2026 at 4:50 am #17998335

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for your message.

Are you referring to custom post types (product groups)? Could you please show how you are modifying the product slugs?

A video recording would be very helpful so I can replicate the issue on my end.

Looking forward to your reply.

Thanks

May 5, 2026 at 5:36 pm #18014963

bergmans23

Hello Shekhar,

Thanks for your answer.

Strange thing; the updates on this ticket do not reach me through email. But the questions if the ticket is solved do!

The way I go about it is:

Change the translation setting of the post type "prodcut group" to translatable and even translate the slugs there.

Click CPT UI >> Add/Edit post types >> Edit post types and choose "product-group".

There I change the Post Type Slug, Plural Label and Singular Label, while toggling ON "Migrate posts to newly renamed post type".

This results in the 4 posts, formarly known as Product Groups, to get changed to post types with the new name, but only the 4 posts in the primary language ( english ). the versions in Dutch, German, French and Spanish are gone!

Hope you can help.
Thanks!
Bye
Ward

Screenshot 2026-05-05 at 18.29.53.png
May 6, 2026 at 5:21 am #18015726

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Regarding the notifications, could you please go to the Notifications tab on the right side of this forum (bell icon) and enable them?

I can see the issue, and it looks like the migration done by the CPT plugin does not migrate the translations. Unfortunately, making this work would require significant work.

WPML maps translations based on the post ID and post type. In your case, the post type slug has changed, so WPML treats it as a completely new post type, and the previous translation mapping no longer applies.

You can try the following alternatives instead:

* Migrate all posts before changing the slugs, then import them after the change

* Deactivate WPML, migrate the posts, and reconnect them afterward as translations https://wpml.org/faq/how-to-link-already-translated-pages/

* If you used the WPML Advanced Translation Editor, you can open the translations again and the previous translated content should still be available, so you would only need to save them again.

Please let me know if this helps.

Thanks

May 9, 2026 at 6:19 pm #18024582

bergmans23

Hi Shekhar,
Thanks! I can't find the bell icon or notifications, but I'll keep looking.
About the translations; I think the easiest way will be to to copy the texts of the 4 posts in all languages, dump them , change the slug and start over.
That will take less time and less risk I think.
I'll keep you posted.
Bye
Ward

May 11, 2026 at 7:13 am #18025938

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello 🙂

You should see the Notifications section on this same forum page.

If it is not visible on your end, could you please share a screenshot of the forum page so I can check it further?

I will wait for your response regarding the issue.

Thanks

Custom-Post-Type-renaming-slug-translated-versions-of-post-type-disappear-WPML-05-11-2026_10_23_AM.jpg