Wordpress Tip - Delete Post Revisions

5 replies
  • WEB DESIGN
  • |
You may or may not know that every few minutes Wordpress makes a revision of a post/page that you are working on in case you ever want to revert back to a prior version. But if you are like me and make changes to your Wordpress site quite often, then all of these revisions will start to build up and eventually accumulated a decent amount of space in your database. This will end up slowing down load times for your site which won't make your visitors very happy if it takes more than a few seconds.

So what is the solution you may ask. A plugin called "Better Delete Revision".

Install Plugin

Go to your Admin Control Panel and go to the Plugin menu
Click the Add New link
Type "Better Delete Revision" in the Search Field and click the Search Plugins button
Click on the Install Now link for the "Better Delete Revision" plugin
Click the OK button on the popup that asks "Are you sure you want to install this plugin?"
On the new page, click the Activate Plugin link

Using Better Delete Revision

Click on the Settings menu
Scroll down and click on the Better Delete Revision link
Click the Check Revision Posts button
On the new page you will see a list of your revisions. Click the Yes, I would like to delete them! button

I recommend running this plugin at least once a week, if not more depending on how often you make changes to your site.
#delete #post #revisions #tip #wordpress
  • Profile picture of the author ZaphodBeebleBrox
    This looks like a useful plugin, especially for deleting revisions per page/post. Maybe someone wants revisions on one post and not another. Good stuff.

    A little further info for others reading that may not know...

    You can tell WordPress not to save any revisions at all by adding this definition in your wp-config.php file too. Be careful with this and that you manually Save Draft when writing. I've been burned a few times (but have trained myself now

    To do this add this line to your wp-config.php
    Code:
    define('WP_POST_REVISIONS', false );
    If that scares you, and you want to simply limit the number of revisions that WordPress saves, add this line instead:
    Code:
    define('WP_POST_REVISIONS', 3);
    In short, any of the three methods above WILL save you space in your database. Especially helpful when you make backups or move your site.

    You do make regular backups RIGHT?
    {{ DiscussionBoard.errors[5043571].message }}
    • Profile picture of the author ExRat
      Hi ZaphodBeebleBrox,

      Originally Posted by ZaphodBeebleBrox View Post

      You can tell WordPress not to save any revisions at all by...[snip]If that scares you, and you want to simply limit the number of revisions that WordPress saves...
      Alternatively -

      LINK
      Signature


      Roger Davis

      {{ DiscussionBoard.errors[5043583].message }}
  • Profile picture of the author Cheryl Hines
    Thanks for the tip! Nice and easy fix too.

    @ ZaphodBeebleBrox - thanks for the reminder about regular backups, too. I forget to install WP Backup sometimes on my new blog installs. Doing it today!
    Signature
    Check out the PrimoPLR Grand Opening
    For the month of December, get 5 Internet Marketing PLR articles FREE. No sign up required.
    "Not just another PLR seller"
    {{ DiscussionBoard.errors[5043687].message }}

Trending Topics