Disabling auto save option in WordPress
By default, WordPress automatically saves your post or page every 60 seconds while you are editing. This feature helps prevent data loss but can also create multiple post revisions, increasing database size and potentially slowing down your site. On ruachost.com, you can disable the auto save option if you prefer to manage revisions manually.
Why Disable Auto Save?
Section titled “Why Disable Auto Save?”- Prevents unnecessary database bloat from frequent revisions.
- Improves site performance on large or busy sites.
- Gives you full control over when content is saved.
Steps to Disable Auto Save
Section titled “Steps to Disable Auto Save”-
Log in to WordPress as the administrator.
-
In the dashboard, go to Appearance → Theme Editor.
-
From the right‑hand column, select the file named functions.php.
-
Scroll to the bottom of the file and add the following code:
function no_autosave() {wp_deregister_script('autosave');}add_action('wp_print_scripts', 'no_autosave'); -
Click Update File to save changes.
✅ WordPress will no longer auto save posts or pages every 60 seconds.