Hi,
I would like to know if it is save to edit an existing(being used) non-hierarchical taxonomy to a hierarchical taxonomy. I mean, will all the settings and existing terms stay untouched? Can i expect any errors?
Thanks,
Robbert
Hi, I would not expect errors when modifying a taxonomy from flat to hierarchical. All the options you have chosen in the Taxonomy editor will remain the same. All the term slugs and term IDs will remain the same, and all the associations between terms and posts will remain intact. If you have any custom code in place that tests is_taxonomy_hierarchical(), then you can expect it to reflect the new hierarchical status. If you have any Views with taxonomy parent-based filters, you should be aware that your ex-flat taxonomy terms may now have a parent. So it's always a good idea to back up your site completely before making a change like this, just to be safe. Then you can revert quickly if necessary.