WordPress includes an auto‑save feature that periodically saves drafts of your posts and pages. By default, auto‑save occurs every 60 seconds. On ruachost.com, you can change this interval to suit your workflow by editing the configuration files.
Why Change the Auto‑Save Interval?
-
Reduce server load by increasing the interval.
-
Avoid frequent interruptions while editing.
-
Ensure drafts are saved more often to minimize data loss.
Steps to Change the Auto‑Save Interval
-
Log in to cPanel.
-
In the Files section, click File Manager.
-
-
Navigate to WordPress Directory.
-
Typically located in
public_html.
-
-
Edit wp-config.php..
-
Right‑click
wp-config.php→ Edit.
-
-
Add Auto‑Save Interval Line.
-
Insert the following line before:
require_once(ABSPATH . 'wp-settings.php'); -
Code:
define('AUTOSAVE_INTERVAL', 120); -
Replace
120with the number of seconds you want between auto‑saves.
Examples:
-
define('AUTOSAVE_INTERVAL', 30);→ Auto‑save every 30 seconds. -
define('AUTOSAVE_INTERVAL', 300);→ Auto‑save every 5 minutes.
-
-
Save Changes.
Notes
|