Disable and limit WordPress post revisions

To optimized and speed up our wordpress site there are a number of changes you can make, one of which is disabling revisions and the amount of time wordpress auto saves changes to your site.

We suggest you add the following to your wp-config.php file:-

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

You can increase the interval time to 800 secs if you wish to further extend the time.

This needs to be inserted above the ‘ABSPATH’ otherwise it won’t work.

Customers are advised to also disable the wordpress cron and add a proper cron job with in cPanel or if using a VPS you can use crontab to add the wordpress cron which we will create a guide for this.

Powered by BetterDocs