How To Disable Post Revisions and Autosave on WordPress

If necessary, you can roll back to previous versions of WordPress, so that you automatically post the various versions of the database that stores a “post-revision” feature.

This is a useful feature in some circumstances. For example, if you accidentally erase the contents of a post, you will be able to get an older version. Similarly, if you have multiple authors to your blog, posted some unwanted changes or edits this feature can help you do just that.

If you are the only person that your blog posts and post-editing time you’re careful, you may find that you’ll use to post revision feature. If this is the case I will be reducing the number of entries in your database so that, for example, turn it off.

On average, each post at the end of the five reserve revision, that example. 6000 to post a blog entry in 1000 (for the post in 1000 and 5000 revision), that means that. In other words, you can save some space and the performance of your database queries (if even slightly) can be improved.

Post revisions in the wp-config.php file, add the following code to disable (if anything, it seems to change anything before it goes back up):

(False ‘WP_POST_REVISIONS’) rating;

Another change is that you can do as it can be annoying, especially on slow connections, post-auto save time interval is to raise your. The default is 60 seconds (ie, the WordPress auto-save every minute of your post). You 180 minutes (ie, 3 minutes) if you want to increase it, the wp-config.php file and add the following code:

Define (‘AUTOSAVE_INTERVAL’, 180);

Finally, you can remove from the database all existing post revisions, but you’re not quite familiar with databases MySQL and I would not recommend doing it. Can be used for this purpose, which is almost as good as some of the “database” cleanup plugins.

(Visited 141 times, 1 visits today)


  1. Hmm it looks like your site ate my first comment (it was super long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog blogger but I’m still new to everything. Do you have any tips and hints for beginner blog writers? I’d really appreciate it.

  2. Hi, Neat post. There’s an issue with your web site in web explorer, might check this? IE nonetheless is the market chief and a huge component to folks will leave out your fantastic writing because of this problem.

Comments are closed.