- SEO TOOLS
- Webmaster Tools
In this WordPress Post Revisions tutorial I will Share a important WordPress snippets which will help you to save your hosting disc space. When we create a post using WordPress admin panel It will save post revision automatically. This post revision will reduce your hosting disc space. You can disable auto save and limit post revision using a WordPress plugin called Revision Control. Here I have shared an easy way to limit the total number of revisions that WordPress is allowed to keep. This code will instruct WordPress to keep only the most recent “x” number of revisions:
/* limit number of post revisions */ define('WP_POST_REVISIONS', 3);
Place that line above in the
wp-config.php file and enjoy conserved disk space and less Admin clutter. Change the number “3” to any number you wish. Works a treat.
If your database saved many post revision your can remove this following remove post revisions from database Tutorial. If you are not comfortable in MySql You can use wp-optimize wordpress plugin to remove post revision from WordPress database.