How to Disable WordPress Post Revisions

The following simple solution covers how to turn off or disable WordPress post revisions. Although I feel that most of the features WordPress continues to offer are constant improvements, I simply find post revisions to be distracting and annoying. So, I have personally disabled the post revisions feature on many of my own sites. You can too, and here's how:

Disable WordPress post revisions

Completely Disable WordPress Post Revisions

To completely disable WordPress Post Revisions:

  1. Login via an ftp client to the folder containing your WordPress site.
  2. Copy the wp-config.php file to your desktop.
  3. Using a text editor (I prefer notepad++), open the wp-config.php file.
  4. Just before the closing ?> tag (if it exists), add the following line of code:
    define('WP_POST_REVISIONS', false);
  5. Save the file and upload it to your server, overwriting the old wp-config file.

That's all there is to it. Now when you edit a post, a revision will no longer be created. However, automatic saving is still fully functional. Check out How to Remove WordPress Post Revisions if you need to remove post revisions that have already been created in the database.