I want to export all Wordpress categories (no posts, just categories) from one blog to another. How can I do that ?
|
migrated from stackoverflow.com Nov 25 '11 at 21:31
|
What is your end goal here? Just to get a list of categories from one blog to another? Or, are you trying to move all of the content wihtin a category or categories to another WordPress install? It kinda ugly, but you could export all content, then just delete the content within the categories or delete the categories that you don't want. It would probably be one of the quicker ways to your goal. |
|||
|
|
|
You cant export only categories (or taxonomies generally). Just export all content with Tools/Export and you can delete content except categories from xml. |
|||
|
|
|
I solved this problem with 2 queries. This is not the best way I suppose, but for sure not the safest. Furthermore it assumes that you are working on the same database (if this is not tha case you can easily export the query and then import into another db). I've used it on an empty wordpress installation:
I'm sorry I'm not able to indent properly the queries code, anyway |
|||
|
|