How to Adjust Autosave Interval of Your WordPress Blog
Autosave function which has been integrated into WordPress plays massive role for WordPress bloggers. It is because, although it is not often, it can help us to recover back the articles that we have written in the case where our internet browser crashed.
Your Internet Browser Crashed?
However, the default autosave interval may not suit with our style and speed of writing the content of our WordPress articles. For those who can type pretty fast, the default interval may not sufficient as if the internet browser crashes, the possibly of losing huge amount of content that we have written is higher as compared to those who have slower pace.
Therefore, for this post, I would like to share quick and simple tutorial on how to adjust the default autosave interval of WordPress blog – to make it to be either faster or slower. It depends on you and your style.
What you should do now?
First, we need to head to your WordPress file in your hosting and find the wp-config.php. If there is only your WordPress blog in your hosting account, the file will be located in the public html folder.
After you have found the file, open the file as you will have to make simple little tweak in the file. However, if you are worry that the process does not end up well as expected, it would be great if you can make back up of your WordPress blog.
Then, you have to find below code which located at the few last code lines of the file.
/* That's all, stop editing! Happy blogging. */
When you find the above line, you just need to add below code right before the line.
define('AUTOSAVE_INTERVAL', 300 ); // in seconds
By putting the above code, the autosave interval will be at the rate of 300 seconds per autosave. From there, you can adjust the interval by adjusting the 300 – either to increase or decrease it, depends on your suitability.
Does it work great?
Now, you have set up your own autosave interval which suits you and your WordPress blog. I would love to know how will this tutorial affect you – Is it major or minor? And feel free to share any opinion and suggestions that will improve this quick and simple tutorial on how to adjust the default autosave interval of our WordPress blog.