In this post you will learn How to Change WordPress Autosave Interval in order to prevent the annoying habit of WordPress automatically saving drafts every 60 seconds.
Change WordPress Autosave Interval
The autosave feature in WordPress is a good defensive feature. However, the WordPress default autosave interval is so short that it can really slow down things and distract you from writing posts.
Thankfully, there is a way to extend the Default WordPress autosave interval of 60 seconds to something that is more reasonable.
TEXT AD1You will need to edit the wp-config.php file in order to achieve this. Here is how you can accomplish this:
1. Login to cPanel (Enter /cPanel after your domain name to get to the cPanel login screen)
2. Click on File Manager
3. Open the wp-config.php file and add a single line of code at the beginning of the file.
define(‘AUTOSAVE_INTERVAL’, 300 );
This single line of code will increase the autosave interval from the default of every 60 seconds to 300 seconds.
You can customize the autosave interval to every 7 minutes by inputting 420 or every 10 minutes by inputting 600 in the above line of code.
You can even disable the autosave feature completely. However, this is not recommended as this feature can save your day in case you are busy writing a post and suddenly there is a power cut or you lose your internet connection. In such cases you can always go back to an autosaved copy of your post and get most of your work back.
Important: Always make sure that you have a backup of your current WordPress website before making any of above changes.