How to Change 'Wordpress Auto Save' Interval?

by Aditya on January 3, 2009 · 0 comments

 How to Change 'Wordpress Auto Save' Interval?Developers added ‘auto save’ feature to Wordpress in its version 2.1 and ever since then, it has become a permanent fixture in coming Wordpress versions (even Wordpress 2.7) . By default, wordpress ‘auto save’ saves your pages and posts after every 60 seconds, that is to say, after every 1 minute. This ‘1 minute time’ is not suited to most of the bloggers who prefer an early ‘auto-save’ or ‘an auto-save’ after the normal time interval of 1 minute. Some think that it is quite imposssible to do so, but the good news is that it is possible and quite easy.

You can change the ‘auto-save’ time of wordpress blogs by your own time limit. This task invloves changin the configuration of AUTOSAVE_INTERVAL constant and replacing the given time interval by your time. The ‘AUTOSAVE_INTERVAL’ constant can be added in the wp-config.php configuration file, which located in the root directory of your blog. Use the following syntax to add or modify the auto-save interval:

define(’AUTOSAVE_INTERVAL’, 600);

The above code will instruct wordpress to auto save posts/pages after every 600 seconds that is, 10 minutes. This value can be changed to your own value which will be used to determine the ‘auto-save interval’ by the wordpress.

So, what you think?

Did you like this tutorial and found it helpful or you feel it was just a waste of time? Express your freaking mind to me by leaving a comment.

Liked my ravings ?

Subscribe to my tech-ravings.

About Aditya: Aditya is a 16 year old online entrepreneur living in India. He is the founder and editor of Tech Ravings, a blog sharing latest apps and services from the tech world.Get more from Aditya on Twitter.

Subscribe to TechRavings

Full RSS FeedEmail
Follow Aditya on Twitter

Other Articles Of Your Interest

{ 6 comments… read them below or add one }

Saba January 5, 2009 at 12:03 pm

thanks..it was helpful for my wordpress blog..

Reply

Shane February 9, 2009 at 3:33 pm

Very helpful!  Thank you for sharing!

Reply   More from author

Pareja July 3, 2009 at 5:01 am

Your post How to Change ‘Wordpress Auto Save’ Interval? was very interesting when I found it over google on Friday by my search for auto. I have your blog now in my bookmarks and I visit your blog again, soon. Take care. Parejaspareja.es

Reply   More from author

natashaviva July 13, 2009 at 10:33 am

Thank you very much. This is very useful for my blog too: http://www.picktorrent.com

Reply

poker July 31, 2009 at 8:06 pm

Perfect!, just works awesome, and easy to do, im not a very experimented user, but with your tips, the site grows up.

Reply   More from author

Jacob Christensen August 20, 2009 at 1:15 pm

@karinhoegh (Ved ikke om denne kan hjælpe) #blogfail http://tinyurl.com/lrtmtl

Reply   More from author

Leave a Comment

Additional comments powered by BackType