Change autosave interval and limit revisions

March 16th, 2009 Posted in Wordpress

Difficulty Level:

dif_low

Today we will show you how to change auto save time interval in wordpress and how to limit post revisions.  This is very simple. You only have to change your wp-config.php

To change auto save interval you have to put this line in your wp-config.php:

  1. define(’AUTOSAVE_INTERVAL’, [DURATION_IN_SECONDS]);

Replace [DURATION_IN_SECONDS] with your desired number of seconds.

To limit revision posts you have to put this line into your wp-config.php:

  1. define (’WP_POST_REVISIONS’, [NUMBER_OF_REVISION]);

If you replace [NUMBER_OF_REVISION] with “0” (zero), no more revisions will be saved. Otherwise replace [NUMBER_OF_REVISION] with your desired number of revisions for each post.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • MisterWong
  • Y!GG
  • Webnews
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit

Comments are closed.

My-Guide Interessante Guides: Richtig BewerbenGeschenkeSport GuideMy-GuideYou must be jok..