Skip Navigation

[Resolved] can I change custom post-type slug without losing data?

This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 7 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#443564

I have post type with slug "property"
and I already insert more then 200 properties there.
Now I was requested to change the slug to "properties"
I did it and I lost all the 200 properties I already inserted

can you help me to understand how safly I can change a post-type slug without losing the data?

#443596

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Barak,

Thank you for contacting our support forum.

It should be safe to do this as i've just tested it before responding.

What happens is that all the CPT slugs get updated to the new slug once the new slug has been applied.

Try temporarily disabling all your non-toolset plugins and see if that helps .

Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.