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.


To change the length of time that WordPress waits between automatically saving drafts, follow these steps:

  1. Log in to cPanel.
  2. In the Files section of the cPanel home screen, click File Manager.
  3. 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.


  1. Right-click the wp-config.php file, and then click Edit.
  2. 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 );

  3. 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');

  4. Click Save Changes.


  • WordPress, Auto-Save, autosave, auto save
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Add MailChimp Subscribers from WordPress

You can add subscribers directly to a MailChimp mailing list from WordPress. This article...

Broken Image Links in WordPress

This articles describes how to resolve a problem that may occur when you try to add images to a...

How to Add CAPTCHA Protection to a WordPress Site

This article describes how to add CAPTCHA protection to a WordPress site using the Google CAPTCHA...

How to Add External RSS Feeds to your WordPress Site

This article demonstrates how to add an external RSS feed to a WordPress site. RSS (Rich Site...

How to Add a Custom Logo to WordPress

This article describes how to add a custom logo to a WordPress site. Adding a logo to your...

Powered by WHMCompleteSolution