WordPress: Disable WordPress Post Revisions

It’s a popular WordPress myth that storing multiple post revisions slows down your website. This is not true. WordPress is written smart enough to ignore revisions while rendering the front end and its MySQL queries are written well enough so revisions don’t actually slow them down. However, post revisions take space in your WordPress database. Revisions are practically full copies of your posts, so if you have hundreds of posts this means you have few hundreds revisions stored too.

To sum up, if you need to decrease the size of your WordPress database, removing your post revisions is a great way to do it without sacrificing any actual content. To do this open your wp-config.php file and add the following configuration line to it:

define('WP_POST_REVISIONS', false );

Doing this, however, will only tell your WordPress application to stop storing new post revisions. If you want to delete all the existing ones, it’s a good idea to use the Bulk Delete free plugin.

Looking for quality WordPress Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , | Posted under WordPress | RSS 2.0

Author Spotlight

TJ Marsh

TJ Marsh

My name is Tj Marsh. I spend about 16 hours a day on the internet. Running my company and helping out here at Arvixe. I live in the good ole Arizona where it gets ridiculously hot. I love WordPress and a lot of other open source software along with coding.

Leave a Reply

Your email address will not be published. Required fields are marked *


× 6 = 30

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