Tuesday, May 25, 2010

TutZone- Tutorials, Design news and Inspiration

TutZone- Tutorials, Design news and Inspiration

Link to TutZone

Disable Post Revisions to Make Database Smaller

Posted: 25 May 2010 10:13 AM PDT


Wordpress post Revisions is a is a great feature for those working with multi-editors (authors) and is a way of tracking changes. But for those (like me) who blog alone, it is an unnecessary feature which adds a lot of additional data that will really increase the size of the WordPress database and thus slow the loading time of your site. Here we will show you how to Disable Post Revisions to Make Database Smaller which will make your Database size smaller and will help you load your site faster.

Procedure:

Note: Do take backup of your file before you try this.

01. Go to your FTP and download wp-config.php file.

02. Open it with Notepad or Notepad++ and add below line anywhere:

define('WP_POST_REVISIONS', false);


03. Upload the modified file back to your FTP and you are done.


For New Wordpress Users:

You can try out following recommended plugins:

WP-CMS Post Control

Further Resources:

That concludes this simple and useful tutorial. Hope you like it.

No comments:

Post a Comment