Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above
Another new feature in WordPress blog publishing system added since WordPress version 2.6 is post revisions tracking similar to version control system, which provides Wiki-like style tracking of edits been made onto the posts or pages. Post revisions tracking allows bloggers and authors to view who, on when, made what changes to any post or page, with ability to compare for differences between each saved versions, or revert back to older version.

Each version of post revisions is stored in WordPress database in wp_posts table. Over time, the database may grows bigger and becomes bloated especially when user prefer to click on “Save” button while writing a post or page (contrary to popular belief, auto-save feature in WordPress does not actually trigger or create a new revision version, unless specifically configure). Increasing size of database will surely putting more strains to busy web server, and may slow down post retrieval and web page serving. Beside, WordPress database backups will take longer time and bigger bandwidth to be downloaded.
For WordPress 2.6 or newer version users who feel that post revisions feature is not useful and suffice with AutoSave feature built-in in WordPress editor, post revisions tracking and keeping feature can be disabled and turned off.
WordPress provides constant WP_POST_REVISIONS that can be used in wp-config.php configuration file or plugin to set the status state for post revisions feature. To turn off and disable automatic post revisions all versions saving feature in WordPress 2.6 or later version, simply add the following line of code to wp-config.php file located in the root or home directory of WordPress blog.
define(’WP_POST_REVISIONS’, false);
Once set, WordPress does not attempt to save or store any revisions, except the one AutoSave per post.
Related Articles
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count
- How to Delete Existing WordPress Post Revisions Stored/Saved
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable
- WordPress 2.6 with Change Revision Tracking Feature Available for Free Download
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column
- Disable WordPress 2.3 Core and Plugins Update Check and Notification
- How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6
- Caption Disabler WordPress Plugin to Disable and Remove Captions Functionality










































September 18th, 2009 07:46
[...] can turn the revisions feature off entirely using the wp-config file if you are old-skool, or using the No Revisions [...]
May 15th, 2009 04:44
These revisions are very annoying,
I also used the delete sql command on the other post, works like a charm.
Thanks for the info!
March 8th, 2009 23:47
Thanks, I’ve been looking for such an option. Having 20+ revisions because one is anal is not funny…
January 29th, 2009 02:01
Although you says you can do this :
define('WP_POST_REVISIONS', false);
to disable revisions, you can also do this
define('WP_POST_REVISIONS', 3);
to limit the number of revisions to 3 (plus the autosave).
Not only that, if you now save a post/page which has more than 3 it will delete
the old ones for you!
November 24th, 2008 02:14
[...] 資料來源:Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or AboveHow to Delete Existing WordPress Post Revisions Stored/Saved [...]
October 27th, 2008 02:55
Hi, the single quotes above have been modified when serving to reader, just delete off and type by using keyboard should work.
October 27th, 2008 01:33
thanks for this tip, however, you failed to mention that when copying and pasting the code into the wp-config.php, you should correct the single quote as the one you showed above cannot be read by php.
October 22nd, 2008 12:48
[...] was based on a suggestion from My Digital Life. There’s also a WordPress plugin that will do this for you so you don’t have to edit [...]
September 30th, 2008 06:35
[...] problemu znalazłem na blogu My Digital Life, ale wszystko opisane jest lepiej u Lestera Chana. Ninja na swoim blogu napisał mniej więcej to [...]
August 15th, 2008 22:17
Great tip. Thank you!
August 10th, 2008 17:06
[...] נוספת: Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Revision Management – בקודקס של וורדפרס //OBSTART:do_NOT_remove_this_comment var [...]
August 3rd, 2008 02:53
Just to let you know I have included the ability to turn off (and back on!) post revisions in WordPress with my WP-CMS Post Control plugin over at
It also allows you to disable the Flash upload and hide every aspect of the write post/page areas in WordPress.
July 24th, 2008 01:32
Excellent! Thanks for writing this useful guide
July 23rd, 2008 04:24
[...] 資料來源:Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or AboveHow to Delete Existing WordPress Post Revisions Stored/Saved Ctrl-z [↩]Post Revision 資料是寫入 wp_posts 資料表 [↩] [...]
July 22nd, 2008 03:48
[...] users who had disabled or turned off post revisions tracking or versions history feature in WordPress (added since WordPress 2.6), it is also made sense to delete and remove all existing [...]