WordPress Plugins – Bulk Delete
It never fails; no matter how well I plan or no matter how good the migration tool is, there always seems to be some sort of data issue that can best be solved through entry deletion. The problem of course is that in most of these systems deletion is an all or nothing kind of proposition. Rarely do the developers take into consideration that you may only want to delete certain types of entries.
This was the case with WordPress as well. I was able to delete individual blog entries or through a database manipulation I could delete everything but there wasn’t much in between these two extremes.
What I wanted was the ability to do a bulk delete based on certain criteria. After some research and recommendations, I settled on a plug-in written by Sudar appropriately named Bulk Delete. This plug-in will allow you to delete blog posts based on category or even keyword.
Obviously this kind of plug-in can be extremely dangerous and should be used with extreme caution. Plug-in installation is through the WordPress Administration tool through the Plug-in section. After uploading the files a new setting page is created under the Settings heading. It is aptly named Bulk Delete.
The page will allow you to select what types of entries you want to delete. Besides category or keyword, you can also delete all drafts, all revisions, all pending posts, all scheduled posts, or all posts total. The plug-in also allows you to restrict the deletion to posts older than a certain number of days.
The plug-in works as advertised and can be very useful not only for deleting posts that have been migrated but for cleaning up a blog eliminating old posts or posts associated with a specific category or keyword.
This is a valuable plug-in that every administrator should be aware of to make pruning and cleaning of a blog as painless as possible. As always I recommend making a back-up of your database files before running tools such as this. You just never know what might happen when doing a bulk deletion of records within a database.