How to Limit WordPress Post Revisions without plugin

Add Tool

Limit WordPress Post Revisions without plugin


Limit WordPress Post Revisions without plugin

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.


Tags: Post Revisions, Limit Post Revisions, Limit WordPress Post Revisions, WordPress Post Revisions, WordPress plugin
Payza

About Masum Billah

Limit WordPress Post Revisions without plugin 1stWebSuite website seo tool is a free website ranking tool site provides a lot of on page and off page seo useful tools for you. On this site, we have a large number of website ranking tools


SIGN UP TO GET UPDATE TO YOUR INBOX




Discuss about: How to Limit WordPress Post Revisions without plugin


adf.ly