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.

WordPress Revision Versions Differences Comparison

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.


15 Responses to “Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above”

  1. Securing your WordPress blogs — Hoyden About Town
    September 18th, 2009 07:46
    15

    [...] can turn the revisions feature off entirely using the wp-config file if you are old-skool, or using the No Revisions [...]

  2. calorie shifting
    May 15th, 2009 04:44
    14

    These revisions are very annoying,
    I also used the delete sql command on the other post, works like a charm.
    Thanks for the info!

  3. Don Salva
    March 8th, 2009 23:47
    13

    Thanks, I’ve been looking for such an option. Having 20+ revisions because one is anal is not funny…

  4. Creative Graphics Communications
    January 29th, 2009 02:01
    12

    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!

  5. Disable Wordpress Post Revisions « HCW
    November 24th, 2008 02:14
    11

    [...] 資料來源:Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or AboveHow to Delete Existing WordPress Post Revisions Stored/Saved [...]

  6. admin
    October 27th, 2008 02:55
    10

    Hi, the single quotes above have been modified when serving to reader, just delete off and type by using keyboard should work.

  7. deuts
    October 27th, 2008 01:33
    9

    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.

  8. WordPress eCommerce Plugin Permalinks show 404 error | Magic In The Desert
    October 22nd, 2008 12:48
    8

    [...] 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 [...]

  9. Lokomobila.org » Jak wyłączyć rewizje postów w Wordpress
    September 30th, 2008 06:35
    7

    [...] 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 [...]

  10. Derek
    August 15th, 2008 22:17
    6

    Great tip. Thank you!

  11. מעקב אחר גירסאות בוורדפרס 2.6 (ולמה זה טוב בכלל?) | הבלוג של אח"י דקר
    August 10th, 2008 17:06
    5

    [...] נוספת: Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Revision Management – בקודקס של וורדפרס //OBSTART:do_NOT_remove_this_comment var [...]

  12. Jonnya
    August 3rd, 2008 02:53
    4

    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.

  13. Mark @ Money Making Adventure
    July 24th, 2008 01:32
    3

    Excellent! Thanks for writing this useful guide :)

  14. Disable Wordpress Post Revisions | WeiPAD
    July 23rd, 2008 04:24
    2

    [...] 資料來源: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 資料表 [↩] [...]

  15. How to Delete Existing WordPress Post Revisions Stored/Saved » My Digital Life
    July 22nd, 2008 03:48
    1

    [...] 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 [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

wordpress disable revisions - disable wordpress revisions - wordpress remove This entry was posted on - wordpress remove "This entry was posted on" - wordpress page revisions - wordpress delete revisions - Disable Revisions - wordpress delete post revisions - disable revisions wordpress - wordpress disable page revisions - wordpress turn off revisions - delete page revisions wordpress - wordpress remove revisions - disable versioning wordpress - wordpress disable revision - remove post revisions wordpress - how to disable revisions in wordpress - wordpress delete page revisions - disable post revisions - wordpress disable post revisions - wordpress revisions disable - deactivating revisions wordpress - disable wordpress edit history - disable revisions wordpress yoast - wordpress plugin delete post revisions - wordpress deactivate revisions - wordpress turn off versions - wordpress disable versions - wordpress delete revision - wp revisions turn off - remove post revisions - wordpress.com disable revisions - wordpress removing page revisions - +wordpress revert +page older version -downgrade -upgrade - disable versions wordpress - limit wordpress revisions wp-config - remove wordpress page revisions - wordpress disable revision tracking - wordpress is there an issue with updates to post reverting back to old revisions? - delete wordpress post revisions - removing "This entry was posted on" wordpress - turn off latest comments from wordpress - wordpress disable revision history - delete revisions in pages in wordpress - wordpress delete post history - wordpress disable versioning - disable a tracking application mobile - wordpress deactivate history - wp_post_revisions cannot find constant - "page revisions" & wordpress -