Knowledge Base
MilesWeb / How-Tos, WordPress FAQ

How To Change The WordPress Auto-Save Interval?

Approx. read time : 2 min

What is the WordPress auto-save Feature?

The WordPress auto-save feature saves a draft of the post you are working on or still editing in frequent time intervals. By default, WordPress saves a draft of your post in every 60 seconds.

There might be situations where you might want to change the auto-save setting. For instance, if your internet connection is slow, you might want to increase the auto saving interval so that your browser does not freeze whenever WordPress saves a draft of your post. In contrast to this, if you wish to minimize the chances of losing the edits to a post, it is also possible to decrease the auto-save interval so that WordPress does not save them more frequently.

Steps for changing the auto-save interval:

In order to change the length of the time when WordPress waits between saving drafts automatically, you have to implement the following steps:

  • Login to cPanel.
  • In the cPanel home screen, there is a ‘Files’ section, there click on ‘File Manager’.
  • Go to the directory where WordPress is installed.

Note : Usually WordPress is installed in the ‘public_html’ directory. However, if WordPress is installed in a sub-directory, you must navigate to that directory.

  • Right click on the file ‘wp-config.php’ and click on ‘Edit’.
  • Add the line mentioned below to the wp-config.php file. In place of X you have to add the number of seconds that you want WordPress to wait between saving drafts of your posts.

define( ‘AUTOSAVE_INTERVAL’, X );

Note : The auto save line mentioned above should come before the line mentioned below in the wp-config.php file otherwise the setting will not have any effect.

require_once(ABSPATH . ‘wp-settings.php’);

  • Click on ‘Save Changes’.
Avatar
My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent 4.8 out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna