Assign all posts to specific category

I used database to empty wp_postmeta, wp_terms, wp_term_relationship, wp_term_taxonomy.

And I have post content of about 50k. I just created a new category in wp, is there any way to assign all the whole 50k post to the new category I created at once?

Read more here:: Assign all posts to specific category

Leave a Reply

Your email address will not be published. Required fields are marked *