• Hi,

    I created custom taxonomy with the CPT plugin, but then I needed to change it’s slug.

    Now whenever I assign this taxonomy to a post, it is being saved, but when editing the post, the taxonomy is not checked in the taxonomy list, so when updating the post, the taxonomy is not saved with the post.

    I then have to go back to editing the post, check the taxonomy, update the post and it is saved back again – until I edit the post again.

    It happened to me on two websites. Custom Taxonomies, where slugs have not been edited, work without issues, but the ones where I changed the slug – have this one issue.

    It is a pain, because my clients do not remember about checking these taxonomies and the functionality connected with them is missing on the posts.

    Any idea how I can resolve it would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Do you have this trouble with both old (prior to slug change) and new assignments? Or just old assignments?

    Terms assigned to posts are saved in part by the taxonomy’s slug, independent of the slug as registered at run time. By changing the registered slug, terms assigned under the old slug will not be able to be found when populating the taxonomy term meta box. You probably need to update all old slugs in the term_taxonomy table to the new slug.

    If the problem exists for both old and new assignments, there’s probably something wonky with how the CPT plugin implements related taxonomies. I then recommend you seek assistance through the plugin’s dedicated support channel.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Taxonomy not saving after changing Slug’ is closed to new replies.