Quick Tip: Disable Automatic Post Revision In WordPress

Written by on April 7, 2011 in WordPress Tutorials - No comments

By default WordPress saves a post revision every two minutes. Any time a post is edited or altered WordPress takes note and saves the new post version over the old one. This can consume quite a bit of MYSQL hosting space, and can also slow down the WordPress application for some users.

This tutorial will highlight how to disable the WordPress post revision completely, so make sure it is absolutely necessary to implement this feature BEFORE doing so.

In order to perform this action you will need to be the WordPress blog or site owner and have admin access to the actual hosting files. Definitely make sure you have a complete backup of your WordPress database and source files before continuing.

In order to disable the WordPress post revision feature you must add the following code to your “wp-config.php” source file (this file can be found in the root directory of your WordPress install):

/* disable post-revision feature */
define('WP_POST_REVISIONS', FALSE);

Thats it, quite a simple procedure actually. Keep in mind that if you ever want to enable the feature again you will need to completely remove the code we just added.

About

Briley Kenney is a young freelance writer who enjoys all things electronic and techie related. Currently Briley writes for a plethora of professional websites including Productwiki, Uberoid, The Tech Labs, and of course WPMods. You can find more personal information on Briley's professional portfolio site here.

Post comment as twitter logo facebook logo
Sort: Newest | Oldest