Back to Top

How to configure WordPress Post Autosave Interval?

Post Autosave Interval in WordPress

While you write a post in WordPress from admin,WordPress autosave the post with in every interval using AJAX call as a revision.Default interval set by wordpress is 60 seconds means in every one minute,wordpress saves your post and generate revision.

So,You can modify this interval using wp-config.php.

Sometimes your browser crash or problem with internet connection or you forget to save content then the auto save interval feature can be used to restore your data back.

You can increase increase this setting for less numbers of revisions which is for longer delays in between autosave post.Also,You can decrease this setting as per your requirement to save content and not lose your important content

Add Following line of code into wp-config.php file.

OR

Also see:

Create Own Widget in WordPress
Limit ‘the_content’ by words in WordPress
To use multiple headers in WordPress

Make sure that you do not decrease interval which increase revisions otherwise it leads to overhead of your database.

Hope this tricks helpful to you.As always, thanks for reading an article. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Comments (1)

  1. […] i have explained yesterday in post POST AUTOSAVE INTERVAL IN WORDPRESS,When you add/edit the post or pages, wordpress automatically save your content in database in some […]

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

Constructor and Destructor in PHP

Posted on 12 years ago

Bhumi

In depth Understanding of Laravel Core

Posted on 4 years ago

Bhumi

How to call Remote URL in jQuery Ajax?

Posted on 10 years ago

Bhumi