Title: Updated Plugin &#8211; Changed Permalink Structure
Last modified: August 30, 2016

---

# Updated Plugin – Changed Permalink Structure

 *  Resolved [ASCoe](https://wordpress.org/support/users/ascoe/)
 * (@ascoe)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/)
 * I just updated the Custom Post Type UI plugin in WordPress and it automatically
   deleted 4 of the 6 blog type categories for the website I run BattleRapNews.com
 * The only category that was left untouched for some reason was Battles, but every
   other article on the site now gives a broken link. Even in the WordPress dashboard
   I cannot see any of the previous Categories or hundreds of posts that were included
   under each category.
 * The permalink structure was changed as well as a result. For example, before 
   an interview was posted at the URL [http://battlerapnews.com/interview/loaded-lux-speaks-the-day-before-battling-charlie-clips/](http://battlerapnews.com/interview/loaded-lux-speaks-the-day-before-battling-charlie-clips/)
 * Now “interview” has been stripped of the permalink structure and you are given
   an error > [http://battlerapnews.com/loaded-lux-speaks-the-day-before-battling-charlie-clips/](http://battlerapnews.com/loaded-lux-speaks-the-day-before-battling-charlie-clips/)
 * Posts under the category “Blogs” still appear but only because they were always
   uncategorized posts.
 * Please let me know ASAP what I can do to revert this change, or if all of my 
   blog posts cannot be recovered, what I should do going forward.
 * [https://wordpress.org/plugins/custom-post-type-ui/](https://wordpress.org/plugins/custom-post-type-ui/)

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598529)
 * Hi ASCoe,
 * One thing I want to clear up is that the plugin doesn’t delete any content except
   post types and taxonomies settings that our plugin registers, and that’s only
   if explicitly ok’d by the user.
 * My first questions are what version were you upgrading from, and have you gone
   to your Permalinks settings page and simply hit save again? There have been a
   number of cases where that’s all that needed to be done to resolve frontend 404
   issues. With the release of version 1.0.0, I migrated how the settings were stored
   in the options table, to make the settings more update-safe and scaleable. At
   the same time, I left the old settings alone, in case a user needs to revert 
   back to a previous version of the plugin and get things back up and running while
   we further debug the issue.
 * If you could try the permalink refresh point and get back to me, that’d be awesome,
   and we can continue from there. Other quick item’s I’m wondering about include
   any post type or taxonomy slugs you’re using and if they have spaces in them,
   which can also cause issues.
 *  Thread Starter [ASCoe](https://wordpress.org/support/users/ascoe/)
 * (@ascoe)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598546)
 * Do you mean go back and recreate the missing Post Types and then save? After 
   I updated the plugin, the only Post Type that appears within CPT UI is “Battles”.
 * Previously there were Interview, Series, Trailer, & Music Video.
 * As far as the previous structure, they were as follows:
 * BattleRapNews.com/interview/
    BattleRapNews.com/series/ BattleRapNews.com/trailer
   BattleRapNews.com/music-video
 * I’m not sure what version I was updating from. If there is somewhere for me to
   view that I can let you know. Also if I didn’t answer what you were asking let
   me know. I GREATLY appreciate your help with this.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598560)
 * No, I mean your permalinks settings. Settings > Permalinks.
 * My bets are that it’s pre-1.0.0. Anything regarding before that won’t make much
   difference.
 * If you could please, visit the Import/Export page for CPTUI, and copy the contents
   on the right side of the post types tab for that section, and provide them to
   me. Preferably via a service like pastebin.com, but if necessary, even just pasting
   it directly into the forum textarea here works. I want to see what the latest
   version believes it has.
 * If you need to get things working again, AFTER you provide the Import/Export 
   part above, you can revert to the old version of the plugin with [https://downloads.wordpress.org/plugin/custom-post-type-ui.0.9.5.zip](https://downloads.wordpress.org/plugin/custom-post-type-ui.0.9.5.zip)
 *  Thread Starter [ASCoe](https://wordpress.org/support/users/ascoe/)
 * (@ascoe)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598565)
 * [http://pastebin.com/fS25nnXK](http://pastebin.com/fS25nnXK)
 * When I navigate to Settings > Permalinks it had changed to the Post Name option(
   [http://battlerapnews.com/sample-post/](http://battlerapnews.com/sample-post/))
   instead of the previous Custom Structure that include the categories.
 * I just changed it to the Default ([http://battlerapnews.com/?p=123](http://battlerapnews.com/?p=123))
   because my developer thought that would be a quick fix while he looks into it,
   but it did not fix the issue.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598581)
 * Hmm. The pastebin shows that it definitely did not get all the post types.
 * Could you have your developer confirm that the wp_option for `cpt_custom_post_types`
   still exists like it should?
 * I’m curious what’s in that option as well now, after seeing the pastebin above.
 * the `?p=123` format, from what I can see with my local install, is only for the
   post post type. It redirected to `?project=sectors-post` for one of my example
   post type posts.
 * If, for a fact, the upgrade process deleted content, then I’m at a complete loss
   as to why.
 *  Thread Starter [ASCoe](https://wordpress.org/support/users/ascoe/)
 * (@ascoe)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598585)
 * My developer fixed the issue and explained the problem as “It looks like when
   you updated the Custom Posts plugin, somehow it didn’t fully update the database
   and didn’t recreate the appropriate post types. As you noticed, the posts were
   there, but as the post types were no longer recognized, WordPress threw out a
   404 error when trying to access one of the posts.”
 * So the content was not deleted and all posts are now displaying correctly. Thank
   you for your immediate help on this Michael!
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598590)
 * Awesome to hear that things worked out in the end.

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

The topic ‘Updated Plugin – Changed Permalink Structure’ 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/)

## Tags

 * [Broken-Links](https://wordpress.org/support/topic-tag/broken-links/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [updated plugin](https://wordpress.org/support/topic-tag/updated-plugin/)

 * 7 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/updated-plugin-changed-permalink-structure/#post-6598590)
 * Status: resolved