Support » Plugin: Custom Post Type UI » Changing Permalinks

  • Resolved jakilevy


    Hello – I setup 1 new post type and entered in a bunch of data – now I’m noticing there’s a typo on my post type.

    example :

    When I changed the slug to NOT have the type (example , all my posts disappeared. Gone.

    So – how can I change the slug/url for my post type and still keep all the data I entered in while still using this plugin?

Viewing 2 replies - 1 through 2 (of 2 total)
  • jakilevy, if you haven’t done so already, change the slug of your post type back to the original faultive one. That way you get back your posts and that way you can export them as a temporary backup.

    I’m not sure at the moment how the posts are bound to the slug of the post type. When you export your posts there are two fields that (i think) bind the post to the post type.

    Within the <item> tag you can see <link> and <guid> . Maybe if you change those values and import the posts you can get them on the new slug of the post type?

    I’m not sure if this works but you could try. Try it on a dev environment before you try this on your live website ofcourse 😉

    Plugin Author Michael Beckwith


    When changing something like the slug after entering some content, you’re not losing the content in the database, you’re creating a new custom post type. You’ll need to find a way to change the post type content in the db to the new one. I believe there are some plugins out there that aid in switching, or you could do it manually after backing up your db first.

    Hopefully this puts you on the right path.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Permalinks’ is closed to new replies.