Using a plugin doesn't keep the IDs of the categories and exporting/importing of the wp_terms and wp_term_taxonomy tables only works on categories without parents, it seems. The admin panel still shows there are many pages of categories, but they are all empty.

1 Answer 1


In general you can't. ID numbers given at one site might be already used at another.

  • Short and sweet ;-) Jan 24, 2016 at 14:19
  • If the ID is already in use it doesn't allow me to import the table. Before importing it I truncate the tables I wish to import into.
    – Nadroev
    Jan 24, 2016 at 15:37
  • @Nadroev, you should probably explain how you are doing the import/export, but short of deleting all content from the term table before importing I don't see how it can be done Jan 24, 2016 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.