How to Disable WordPress Post Revisions

Are you searching for a way to remove WordPress post revision? If yes, then you are at right page. In this page, we will discuss WordPress post revision and the way to disable it.

What is WordPress Revision?

WordPress revisions is an awesome thing of WordPress. It stores a record of each saved draft or published updates of a post. This system allows you to see what changes were made in each revision, What was added, what remained unchanged and what was removed. Lines added or removed will be highlighted. Revision page also lets you compare two revisions. One important thing is that autosave will have only one revision for the single user. Read more about WordPress revision here.

So, WordPress revision is an important thing. It helps in recovering the previous version of the article if you mistakenly edited and ruined the blog post. You can easily revert back.

Also read:

Does WordPress Revision impacts on load time?

It is a common myth that having multiple post revisions slows down your website. Actually, WordPress is smart enough to optimize your posts. So if you have few posts, then you will not see any impact. But it consumes your space. And if the number of posts is too large, then it will also have little impact in query time. If you blog has hundreds of posts, it means you have few hundreds of revisions which are almost copies of your existing post. So, you can delete revisions to decrease the size of the database.

Also see: How to speed up WordPress

How to delete post revisions?

In my previous post about WordPress database optimization, I discussed a nice WordPress plugin WP-DB Manager. This plugin also gives you an option to delete WordPress revisions.

How to disable post revisions?

The previous section covered how to delete post revision if you want. You can use that plugin anytime to check if there are few post revision and disable it. If you also want to completely disable WordPress revision feature, you can also do this by adding a single line of code on wp-config.php.

This line in wp-config.php will tell WordPress not to store post revisions.

Final Words

Now you know how to delete post revision in WordPress. I still recommend you to leave this as it is and do not disable WordPress revision. It can be life savior when you have mistakenly done something unexpected in a post and have nothing to undo.

What do you think about post revision? Share your views with us in comments.


About The Author


Subscribe To Our Newsletter

Subscribe To Our Newsletter

Receive fresh web design resources and SEO tips in your email by our weekly newsletter

You have Successfully Subscribed!