Support » Plugin: Custom Post Type UI » Changing Taxonomy Name Breaks Taxonomy Tags

  • Resolved rardnek

    (@rardnek)


    I created a bunch of Taxonomies using your plugin, then created some tags to use.

    I later decided i wanted to change the taxonomy name and when I did, it did not update the corresponding taxonomy name in the wp_term_taxonomy table, so all the tags I created were orphaned.

    I was able to update in the database to fix this, but it seems changing the taxonomy name should update the corresponding tags.

Viewing 2 replies - 1 through 2 (of 2 total)
  • What did you have to change in the database? I have a taxonomy called Type, which I just discovered conflicts with the Media Library tab, so I need to change it, but I’ve already populated the site with a couple hundred posts using that taxonomy :-/

    @rardnek

    If you change the name of a taxonomy via functions.php you aren’t updating the exisiting taxonomy, you’re creating a new taxonomy and removing the old taxonomy – hence why your terms all got orphaned.

    You could always change the taxonomy name back to the original name and then your terms will reappear. At least you can then scribe them down with a good old pen and pencil to recreate later. Saves you having to delve into the database.

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