Title: Post Type Slug Edit Error
Last modified: August 22, 2016

---

# Post Type Slug Edit Error

 *  Resolved [mrtechnique](https://wordpress.org/support/users/mrtechnique/)
 * (@mrtechnique)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/post-type-slug-edit-error/)
 * I can’t change the post type slug once I create it. If I change the post type
   slug and click edit, a new post type is created instead.
 * [https://wordpress.org/plugins/custom-post-type-ui/](https://wordpress.org/plugins/custom-post-type-ui/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 3 months ago](https://wordpress.org/support/topic/post-type-slug-edit-error/#post-5834276)
 * Yeah, there’s no great way to handle this type of situation either, truth be 
   told. You’d run into the same issue if you’re doing the registration code manually
   in code as well though.
 * I assume the changing of the slug has its purpose, though doing so after having
   a massive amount of posts in the post type created does create a minor headache.
   The good news is that you’re not losing anything, just a matter of no-longer 
   matching post types, which is recoverable.
 * I recommend [https://wordpress.org/plugins/post-type-switcher/](https://wordpress.org/plugins/post-type-switcher/)
   to help re-associate posts from the old post type into the new one.
 * I have noodlings of code started for possible inclusion in version 1.1 that would
   take care of post type migration when switching, but it’ll still need a lot of
   work before it’s release ready.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post-type-slug-edit-error/#post-5834666)
 * 1.1 will have post type posts switching options when you rename the post type
   slug, if you would like to try it out on a dev server.
 *  Thread Starter [mrtechnique](https://wordpress.org/support/users/mrtechnique/)
 * (@mrtechnique)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-slug-edit-error/#post-5834667)
 * Thanks for the responses. I’ll give it a shot soon on my local dev sites.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 1 month ago](https://wordpress.org/support/topic/post-type-slug-edit-error/#post-5834668)
 * For an in-development copy: [https://github.com/WebDevStudios/custom-post-type-ui/archive/1.1.zip](https://github.com/WebDevStudios/custom-post-type-ui/archive/1.1.zip)
 * Most things shouldn’t be broken at this point, if at all.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years ago](https://wordpress.org/support/topic/post-type-slug-edit-error/#post-5834692)
 * 1.1.0 should be out the door now.
 *  Thread Starter [mrtechnique](https://wordpress.org/support/users/mrtechnique/)
 * (@mrtechnique)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/post-type-slug-edit-error/#post-5834693)
 * Thanks. I’ll give it a shot.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Post Type Slug Edit Error’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [mrtechnique](https://wordpress.org/support/users/mrtechnique/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/post-type-slug-edit-error/#post-5834693)
 * Status: resolved