How to Disable or Turn Off WordPress Post Revisions… Get rid of useless revisions & clear the database!


How to Disable or Turn Off WordPress Post Revisions... Get rid of useless revisions & clear the database!

Post Revisions was introduced from WordPress 2.6. Autosaves are enabled for all posts and pages but they do not overwrite published content. Autosaves are stored as a special type of revision; they do not overwrite the actual post. Each post may have several number of revisions.

As a result, over the times WordPress table wp_posts may have hundreds of useless revisions of different posts. This feature clutters up the database with redundant contents. In this post, I will show you how to disable or turn off WordPress Post Revisions.

How to Turn off WordPress Post Revisions

  • Use an FTP application to your server
  • Download the wp-config.php file to your desktop
  • Using a text editor and open the wp-config.php file
  • Copy and Paste the following code anywhere between <?php and ?>
1
define('WP_POST_REVISIONS', false);
  • Save the file and upload (overwrite the old file) it to your server

That’s it. This process will stop creating Post Revisions. However, WordPress automatic saving option will work as usual.

By | On Sunday, July 4th, 2010 | Under How To's | 1 Comment ยป


DO YOU NEED OUR HELP?

Contact our experts, most of the time we assist our readers free of charge.

Those who found this page were searching for:

  • off post by wordpress
  • wordpress get rid of post revisions
  • wordpress 3.2 turn off revisions
  • disable post revision wordpress 3.2
  • clear wordpress autosave
  • how to get rid of revisions in wordpress.com
  • wordpress revision turn off 3.2
  • disable+autosave+wordpress+3.2
  • autosave page revision wordpress 3.2
  • stop creating revisions of posts :wp

Previous post:

Next post: