How to Change the WordPress Auto-Save Interval
This article describes how to change the auto-save interval in WordPress.
About The Wordpress Auto-Save Feature
The WordPress auto-save feature periodically saves a draft of your post as you edit it. By default, WordPress saves a draft every 60 seconds.
However, there are situations where you may want to change this interval. For example, if you have a slow internet connection, you may want to increase the interval so your browser does not “hang” as frequently when WordPress saves a draft. Alternatively, if you want to minimize the chances of losing edits to a post, you can decrease the auto-save interval so WordPress saves them more frequently.
CHANGING THE AUTO-SAVE INTERVAL
To change the length of time that WordPress waits between automatically saving drafts, follow these steps:
- Log in to cPanel.
- In the Files section of the cPanel home screen, click File Manager.
- Navigate to the directory where WordPress is installed.
Note:Typically, WordPress is installed in the public_html (document root) directory. However, if you installed WordPress in a subdirectory, navigate to that directory instead.
- Right-click the wp-config.php file, and then click Edit.
- Add the following line to the wp-config.php file. Replace X with the number of seconds you want WordPress to wait between saving drafts:
define( 'AUTOSAVE_INTERVAL', X );
- Make sure the auto-save line above comes before the following line in the wp-config.php file, or else the setting has no effect:
require_once(ABSPATH . 'wp-settings.php');
- Click Save Changes.
Was this answer helpful?
This article describes how to configure and customize the WordPress date and time settings....
This article describes how to update a WordPress site manually. There are also other ways to...
This article describes several settings you can use to help debug WordPress.DEBUGGING WORDPRESS...
This article describes how to install and configure a bbPress forum on a WordPress site. With the...
This article describes how to install WordPress using the Softaculous installer in cPanel....
Powered by WHMCompleteSolution