Disable Autosave in Wordpress

Contact: burt (AT) islandcolors (DOT) com | 415.704.1832

Disable Autosave in WordPress

To Autosave or Not

Wordpress has an autosave feature that will automatically save your content every 60 seconds. If you have ever made a big mistake while working on a post or article, autosave can be your White Knight saving you from hours of re-typing.  

The problem arises if you have a lot of content that becomes malformed when it is saved in the editors visual mode. This content can be blocks of code, embedded in videos, even those pesky paragraph tags that

Adjust the Autosave Interval

There is no simple directive to turn off the WordPress autosave. You can change its interval from the standard 60 seconds to whatever you would like by simply putting the following directive in the wp-config.php file found in your WordPress root folder:

If you want to basically turn off autosave you can increase the Interval to some very high number. The other option is creating your own plugin.

Turn Off Autosave Altogether

Create a Simple Plugin

To just turn autosave off or disable it, you create your own simple 5 line plugin. To accomplish this you need to create a text file with the name of say turn-off-autosave.php. The next step you will copy the following code into this text file.

Thirdly, you will take this text file and place it in your WordPress plugin folder which is found inside the wp-content folder. Lastly, you will then activate this plugin by finding the name ‘Turn off Autosave’ in the inactive plugin list.

That is it.

Leave a Reply

This is A Form

Contact Me

We would love to hear from you! Please fill out this form and we will get in touch with you shortly.