Turn Off/Disable Post Revisions in WordPress 2.6 and Above

ADVERTISEMENTS

WordPress 2. 7 Post Revisions

You might be surprised to know even after wordpress 2.7.1 is out fixing many bugs, security issues and several enhancements, we were using WordPress 2.5.1 until last week and some obvious reasons like hack attempts and malicious link injection has forced us to upgrade wordpress version to latest release along with upgrading all outdated plugins.

After upgrading WordPress from version 2.5.1 to 2.7.1, the one feature which I didn’t like is post revisions which was introduced in WordPress 2.6. Basically Post Revision is wiki like edit tracking system for pages and posts useful feature for multi authored wordpress blog.

You can instantly compare different versions of post and revert back to old versions. WordPress stores each versions of post revision in WordPress Database wp-posts over time, the database may grows bigger and becomes bloated.

Fortunately its very easy to disable and turn off Post Revision feature from WordPress 2.6 and above

Disable and Turn off Post Revision from WordPress

1. Open wp-config.php file from your root directory of WordPress

2. Now add following line in wp-config.php file immediately after <?php tag

define('WP_POST_REVISIONS', false);

3. Now save wp-config.php file in your wordpress root directory

That’s it, WordPress Post Revision feature is disabled now.

Related Posts

Reader Comments

Hi,
this is of great use.

Written By Girish
on March 9th, 2009

I think this will not remove the redundant data already created.

Please check http://lesterchan.net/wordpress/2008/07/17/how-to-turn-off-post-revision-in-wordpress-26/

It explains how to remove existing Revisions

Written By CLAT Guru
on April 20th, 2009

Thanks
you really wrote the page in write manner and it worked for me………..I came across so many sites who are telling how to disable Revision but they wrote the matter in hurry and few wrote wrong whereas you wrong perfect and it worked in just first go

:) :) :)

Written By Jenny
on July 10th, 2009

Add Our Headlines To Your Online News Reader

MOST POPULAR POSTS

MOST RECENT POSTS


TRANSLATION

English flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagIndonesian flag