In this article I'll be showing you how to install and use the Better Delete Revision plugin for WordPress. This plugin will allow you to clean up and remove old page and post revisions that are no longer needed in your WordPress database.

By default WordPress after version 2.6 started storing revisions of all pages and posts in the database. While this can be great if you happen to make a lot of edits and lose some content, if you have a lot of needless revisions stored in your WordPress database this can be inefficient.

If WordPress revisions don't sound like something you need for your website, I'd recommend also reading my article on how to limit or disable WordPress revisions which goes more in-depth explaining WordPress revisions and also walks you through adjusting how they work.

Install Better Delete Revision WordPress plugin

Using the steps below I'll walk you through how to install the Better Delete Revision WordPress plugin on your WordPress site.

  1. Login to your WordPress admin dashboard.
  2. wordpress admin hover over plugins click add newIn the left-hand menu, hover over Plugins and click on Add New.
  3. wordpress admin click on search pluginsIn the Search text box type in better delete revision and click Search Plugins.
  4. wordpress admin install plugins click install nowNext click on Install Now beside the listing for the Better Delete Revision plugin. There will be a pop-up confirmation window that asks Are you sure you want to install this plugin? click OK on that.
  5. wordpress admin install plugins click activate pluginYou should then see that the Better Delete Revision plugin was installed successfully, finally click on Activate Plugin so that you can use the plugin.

Using Better Delete Revision WordPress plugin

The steps below descibe how to use the Better Delete Revision plugin now that you should have it installed on your WordPress site.

  1. Login to your WordPress admin dashboard.
  2. wordpress admin hover over settings click better delete revisionIn the left-hand menu, hover over Settings and click on Better Delete Revision.
  3. wordpress admin better delete revision click check revision postsOn the Better Delete Revision Manager page, click on Check Revision Posts.
  4. wordpress admin better delete revision click yes delete allYou should see all of the duplicate WordPress page and post revisions stored in your WordPress database on the next screen. You can then click on Yes, I would like to delete them! (A Total Of 12) to remove those stored revisons from the database.

    wordpress admin better delete revision revisions deletedYou should then see that the found duplicate revisions were deleted.

  5. wordpress admin better delete revision click optimize your databaseIf you go back to the Better Delete Revision Manager page, you can also click on Optimize Your Database to check if any of your WordPress database tables should be optimized.

    wordpress admin better delete revision click optimize wordpress databaseIn this case we can see that none of our tables are marked red, so they don't need to be optimized. If you did have any tables that need optimization, you can just click on the Optimze WordPress Database button.

    After it's done the plugin should display a message of Optimization of database completed!

You should now understand how to install and use the Better Delete Revision WordPress plugin to help clean up your WordPress database from saved WordPress revisions.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
2013-10-23 3:53 pm
According to WordPress, this plugin has not been updated in over 3 years, and is only known to be compatible up to WordPress version 3.1.4. (WordPress is currently at version 3.6+.) I wonder if you have a better or alternate plugin to recommend.
Staff
17,273 Points
2013-10-23 5:03 pm
Hello MichaelPrewitt3,

Thanks for bringing this issue up. We will review the article to see if it should be changed, removed or updated based on what we find. In terms of other suggestions, check out these plugins:

Revision Control.
Thin Out Revisions

You can also search for the plugins here: WordPress Plugins: Revisions

I hope that helps!

Regards,
Arnel C.

n/a Points
2014-04-15 1:34 pm

I'm running WordPress 3.8.1, I just installed the Better Delete plugin and it works. I just got rid of 204 duplicated page/post revisions.

I tried first downloading "Revision Control" plugin, but that one didn't work; even the developer mentions it in the plugin page.

Staff
9,968 Points
2014-04-15 3:12 pm
Hello Alfonso,

Thanks for letting us know that the Better Delete Revision WordPress plugin is still working in newer versions of WordPress!

By the way, you'll want to make sure to upgrade to at least WordPress 3.8.2 as recently some security bugs were found in 3.8.1, and they are not actually up to version 3.8.3.

WordPress 3.8.2 update

Potential authentication cookie forgery. CVE-2014-0166.
Privilege escalation: prevent contributors from publishing posts. CVE-2014-0165.


- Jacob

2014-07-17 7:59 pm
There is now a notice on the site about the Better Delete Revision that this plug-in is unavailable and advising people not to use it until a new version is available.

From the WordPress Plug-in page "PLEASE, DON'T USE IT UNTIL VERSION 2.0 BECAUSE IT IS AFFECTED BY A BUG THAT CAN POTENTIALLY DELETE OTHER STUFF IN SOME RARE CASES.
I'm sorry and I hope to get it safely works soon.
2014-07-17 8:12 pm
Revision control seems like it may be a good option. I'm going to try it out.
Staff
9,968 Points
2014-07-21 4:04 pm
Hello Peter,

Thanks for the update, I'll go ahead and update this article with that warning from the developer as well so people don't accidentally delete anything they don't want to.

- Jacob
n/a Points
2014-07-24 1:05 am

You might want to take a look at  Optimize Database after Deleting Revisions plugin.  It deletes the revisions, runs automatically, cleans up pages and orphans, tags and a lot more.    It also allows me to exclude tables from cleaning by selecting the table.  It cleaned up a heck of a mess for me tonight and I've set it to delete all but 1 revision and run every day.

Staff
9,525 Points
2014-07-24 10:43 am
Hello PJ,

Thank you for your suggestion. For other people who are interested, checkout the Optimize Database after Deleting Revisions.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
Staff
9,968 Points
2014-07-24 4:30 pm
Hello again Peter,

Just so you know I was testing out the Better Delete Revision plugin to update this article with a warning, and it looks like it actually got updated today!

So it would seem the developer has removed the warning and the plugin page is showing it compatible safely with versions up to the latest 3.9.1. I downloaded the latest version and ran the process described in this article again on a WordPress site and I didn't encounter any problems.

- Jacob

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

10 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!