How to stop creating Inherit/Revisions in WordPress Database?


To reduce your sql size and Speed up your wordpress site It is very important to config the thing.

 

Step #1: Open /wp-config.php file, then add following lines and Save it.

 

define('AUTOSAVE_INTERVAL', 300 ); // seconds
define('WP_POST_REVISIONS', false );

 

Step #2: Go to phpmyadmin from your cpanel/vestacp/cyberpanel etc.

 

Step #3: Select Database in which your wordpress is installed.

 

Step #4: Then, Click on “SQL”

 

Step #5: Now type follwong line in box and Click on “GO”

DELETE FROM wp_posts WHERE post_type = "revision";

 

 

Done…

Now, This configuration will stop to create Inherit/Revisions in WordPress Database.

 

 



Find More related How to stop creating Inherit/Revisions in WordPress Database?


Have any Question or Comment?

Leave a Reply

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