How to Delete All Your WordPress Posts

If you have the need to delete all your posts from your WordPress site, then there are basically three ways you could go about it. You could  manually delete your posts. You could use a plugin. Or you could go into your database and delete your posts from there.

We’ll go over each method below.

No matter which method you choose, of course you should first back up your database in case something goes wrong and you end up deleting things you don’t want to delete.

Manual Deletion

If you’d like to manually delete a LOT of posts, there is a little trick you can use to help cut down on the time it will take to run through the deletion process.

1. First go to your Post section in the Admin area of your backend.

2. Once there, go to the “Screen Options” panel in your Admin section. (You should see an option for it in the upper right-hand corner of your screen.)

Featured Plugin - WordPress Q&A Site Plugin

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

3.In the Screen Options panel, you can change the number of posts you can view on one page. Change that number from the default 20 to something higher. (Note: if you have LOTS of posts and you change this number to something VERY high, your browser might lock up on you. You can test it to see how high you can go without problems.)

4. Select all your posts; then use the “Bulk Actions” pull-down menu, and select “Move to Trash.” After that, click the “Apply” button.

 

5. You can then go to your “Trash” section and click “Empty Trash” if you like.

*Repeat the above process until all your posts have been moved deleted.

 

Featured Plugin - WordPress Wiki Plugin

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

 

Delete with a Plugin

If you’d like to use a plugin to do this work, then the Bulk Delete plugin should do the trick for you.

The Bulk Delete plugin lets you choose to delete posts based on a number of different options. For example, you can delete posts based on …

  • Status (Draft, Revision, Pending, Scheduled, Private)
  • Category
  • Age of Post
  • Tags
  • And more

Here’s a partial look at the settings page.

Featured Plugin - WordPress Infinite SEO Plugin

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Go into the Database

If you have thousands of posts delete, and you feel the options above may be too slow or too clunky, then your best bet may be to dive into your database. And so for this I’ll refer you to a post at TripWireMagazine where they run through at least one way of doing that.

Reset Your Database Completely

If you’re looking to get your database to the way it was when you first installed WordPress (in other words, deleting pretty much everything), then check out Sarah’s recommendation on resetting your database.

Featured Plugin - WordPress Newsletter Plugin

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

 

Photo: Delete sticker icon from BigStock

Comments (4)

  1. Hey Dude..You really saved my work with that first option..Imagine I was deleting thousands of spam post by deleting one by one..even bulk post delete plugin was not working.
    Thanks

Participate