Control or Delete Post Revisions in WordPress Blog

WordPress automatically saves your posts as revisions as we type. These post revisions helps to recover posts in case of a browser crash, or internal crash. In such situations, we can easily restore the saved version of the post. But, these post revisions will use an extra space in your database. You can however disable or delete these post revisions (multiple versions of every single post). Just follow the below steps and choose the option based on your requirement.

Option1: To complete stop post revisions, you need to add the following code to your WordPress wp-config.php file

define(‘WP_POST_REVISIONS’, false);

Option2: But, if you want to keep those post revisions and at the same time reduce the burden on your server, then you can optimize the code thus letting it to save only the latest 3 post revisions of any article which saves more space.

To do so, add the following code instead of the above in your wp-config.php file.

define(‘WP_POST_REVISIONS’, 2);
define( ‘AUTOSAVE_INTERVAL’, 100);

Replace the above numbers in red with whatever count you required.

Finally, if you’re not satisfied with the above two methods, you can simply delete all the post revisions with one click.

Option3: Delete Post Revisions using WordPress Plugin

Download the Delete Post Revisions Plugin and install it in your WordPress Blog. It just needs a single click to do the job. All he post revisions will be deleted permanently.

I suggest the 2nd method as it will save both your server space and also comes handy in situations like browser/wp crash.

Last Updated on by Radha Krishna under Wordpress, Wordpress Plugins Category 2 Comments


Share This Article

Get Free Email Alerts

Stay Updated with Useful Blogging Tips. Get Free Email Newsletter Updates..

And, Next Confirm Your Email Subcription


2 Comments to “Control or Delete Post Revisions in WordPress Blog”

  1. Gaurav says:

    nice post radha,

    but one more thing i want to know in, how to take backup and restore my wordpress blog. actually its a big headache for me. i saw many plugins but still unable to find a good one.

Leave your comment here:

CommentLuv badge

Unable to load the Are You a Human PlayThru™. Please contact the site owner to report the problem.

We Use & Recommend
[Bluehost - Review | Installation | Discount ] Bluehost Coupon
Free Email Alerts
Facebook Twitter Google Plus RSS Feed Email
Rate Us

Like US