On site which I maintain there are writers that spend a lot of time editing single posts, and autosave every minute is very painful for them. So they asked me to set it to at least 10 minutes.

I found an official way to change autosave interval, so I've put this line in wp-config (at the end of it and there is no duplicate of this constant in this file):

define('AUTOSAVE_INTERVAL', 600);

But it didn't help. I checked everything, browser cache, memcache, redis cache and even waited a few days.

But Wordpress still uses default 60 seconds to run autosave script. Any ideas why is this happening or how to overcome this?

  • You've verified it's the autosave not the heartbeat ping? The latter doesn't necessarily mean an autosave and is used for other things
    – Tom J Nowell
    Commented Apr 8, 2016 at 11:08
  • Yes, it saves a draft every minute
    – Forien
    Commented Apr 8, 2016 at 11:09

1 Answer 1


You should not put any defines in the end of the wp_config.php it is actually explicitly stated in it ;) Every define you add should be above the line saying

/* That's all, stop editing! Happy blogging. */

Anything after that will have impact only after wordpress had finished to process the request

  • Thanks it helped. The problem was that previous developer changed wp-config.php a lot so it was too hard to see this comment.
    – Forien
    Commented Apr 9, 2016 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.