Change WordPress Autosave Settings

Wordpress Wordpress has a very useful feature which will automatically save your current draft every 30 seconds, as you type and you will not even notice.

What many people don't know is that you can change the time settings on how often WordPress auto saves by adding a setting in the wp-config.php file.

define('AUTOSAVE_INTERVAL', 60);

This will now change WordPress to autosave every minute instead of 30 seconds.

Changing Post Revisions

Along with auto-saving your posts as you type WordPress will autosave different versions of your current post, the default of this is 5 different versions but this feature can also be turned off or changed.

If you want to increase the amount of revisions that are saved in your posts database then you can do this again by adding a line in your wp-config.php file.

define('WP_POST_REVISIONS', 10);

The above code will make sure that there is a maximum of 10 revisions per post. If you don't want to limit this to 10 you can actually turn this feature off, but this means WordPress will not store any revisions of your post.

To turn off post revisions add the following line to your wp-config.php.

define('WP_POST_REVISIONS', false);
Back to top ^

Join Paulund

  • Get access to 100s of premium tutorials and downloadable content
  • Members content consists of Premium WordPress plugins, CSS packages, jQuery packages, tutorial demo files and templates for 100s of web development tutorials
  • In-depth development tutorials
  • Priority tutorial requests
  • Priority email development support
  • No ads

Here at Paulund you'll find Web Development tutorials and snippets focusing mainly on PHP, WordPress and CSS. Members will get access to premium tutorials that go into more detail about development with these languages. You will also get access to downloadable premium content based on the tutorial.

Join Paulund

Leave a Reply

Your email address will not be published. Required fields are marked *