
So previously we talked about WordPress post revision feature and revision control
WordPress plugin to disable post revision, but instead of using any plugin we can simple disable this feature by adding a small line of code in your wp-config file.
This will make sure that your blog will not save the instance of your previously edited post and thus it will not increase the size of your database.
To use this small code, you should know how to access your wordpress directory using FTP.
Now go to root of your wordpress installation and open wp-config.php file, and add this single line of code
define('WP_POST_REVISIONS', false);
This will ensure that none of your post will be revised again. I find it much better than using a plugin, since my wordpress will not be over loaded with an extra plugin.
p.s : Do take a backup of your wp-config.php file, before editing your wordpress file.












{ 3 comments… read them below or add one }
This is very useful! Its better to do it by hand without filling your system with plug-ins….
Looking for similar hack.. Thanks for the info
Its somewhat messy. We do have a ticket regarding it on Trac. Hope to be fixed soon.