Limit the number of posts revisions that WordPress stores in the database. Open up your wp-config.php which is located in the root directory of your WordPress installation and add up the following line of code in that file.
define( 'WP_POST_REVISIONS', 3 );
In the above snippet the number 3
is the number of post revisions. After defining the above code in the
specified file, the WordPress will limit the post revisions to 3 rather
than unlimited.Or You can also use a WordPress plugin to do the same job. And the WP-Optimize is great plugin for it.
0 comments:
Post a Comment