Wordpress Wednesdays: Delay and Disable Autosave

Posted on July 9th, 2008

You may have noticed that when you start writing a blog post in Wordpress, the post will automatically save every so often. This feature can come in pretty handy, because if you unexpectedly disconnect from the Internet or have a power outage, you won’t lose all of the work that you’ve put into the blog post up until that point. That said, some people find the auto-save feature in Wordpress to be more annoying than anything else.

It is possible to either delay or disable the auto-save feature. To set how often Wordpress automatically saves your blog post, look for this snippet of code in your wp-settings.php file. This has been confirmed for Wordpress 2.5.1.

/**
* It is possible to define this in wp-config.php
* @since 2.5.0
*/
if ( !defined( ‘AUTOSAVE_INTERVAL’ ) )
define( ‘AUTOSAVE_INTERVAL’, 60 );

It is the last line that is of interest to us today. The “60″ part of that line refers to the 60 second interval. If you want Wordpress to save every three minutes, change this number to 180. If you want it to save every ten minutes, change it to 600.

If you prefer to disable autosave altogether, a very simple Wordpress plug-in can be found on this page. The appropriately named Disable-Autosave WP plug-in does exactly what it says it does. Just upload and activate.

Shout out to Untwisted Vortex for the information.

Posted in WordPress | 939 views | | Digg This | del.icio.us | Technorati


Related Topics:
WordPress Wednesdays: Too Bloated?
600 Twitter Followers
Wordpress Wednesdays: Smart Archives
Top 10 WordPress Plug-Ins of 2008
Wordpress Wednesdays: Maintenance Mode

RSS feed

1 Comment

Gravatar
Comment by Matt
2008-07-09 22:29:10

It would actually be better to add the last line there to your wp-config.php file, so that when you update WordPress your change isn’t overwritten.

 

Sorry, the comment form is closed at this time.

© 2007 BlueFur Hosting | Privacy Policy
Theme by Unique Blog Designs