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 ?>
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 ยป


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

Those who found this page were searching for:

  • wordpress not saving posts 3.2
  • wordpress revisions 3.2
  • wordpress 3.2 disable post revisions
  • wordpress disable post revisions 3.2
  • wordpress post revison#pq=disable post revisions in wordpress 3.2
  • wordpress 3.2 autosave
  • word press 3.2 post revisions
  • get rid of wordpress revisions
  • wordpress 3.2 wp post revision
  • wordpress get rid of post revisions

Previous post:

Next post: