Title: How to remove all uncategorized posts.
Last modified: August 20, 2016

---

# How to remove all uncategorized posts.

 *  [lovelf](https://wordpress.org/support/users/lovelf/)
 * (@lovelf)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/how-to-remove-all-uncategorized-posts/)
 * I have got about 20,000 uncategorized posts I really need to get rid off.
    Specially
   for the function have_posts() – it returns posts from this category as well so
   I want badly to remove it.
 * I can do so by going to the 1,000 pages showing each 20 results and delete em
   all from the uncategorized category but that doesn’t seem too smart.
 * How could I possibly with phpmyadmin execute a query in there or with php to 
   delete every single post that is in the category uncategorized.
 * Thanks

The topic ‘How to remove all uncategorized posts.’ is closed to new replies.

## Tags

 * [wordpress category](https://wordpress.org/support/topic-tag/wordpress-category/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [lovelf](https://wordpress.org/support/users/lovelf/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/how-to-remove-all-uncategorized-posts/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
