• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Technostarry

  • Home
  • Windows 8
  • Android
  • iOS
  • Web Apps
  • Web Browser
  • Hardware
  • About

How to Change Autosave Frequency in WordPress

October 26, 2011 by Saqib Leave a Comment

While writing a post, you must have observed that WordPress by default, will auto save the post frequently. Sometimes it can even create a distraction, as that “Save Draft” and “Publish” button will just disappear and then appear again. This is because WordPress is auto saving your post and this is called as post revision. Did you know that we can change this post autosave interval in WordPress? This is how it can be done.

Wordpress post revisions

Change Autosave Interval (Post revision) in WordPress

To do this, you must be familiar using FTP client like Filezilla. You can also try using some another FTP client, but using Filezilla is very easy and its a freeware.

After downloading and installing Filezilla, connect to your FTP account. You can create FTP accounts from cPanel. After connecting to your server, download wp-config.php (from the root of your WordPress installation). Its recommended to create a backup of this file, just in case something went wrong.

Open this file, and add these two lines at the end of this file:
define('WP_POST_REVISIONS', 4);
define( 'AUTOSAVE_INTERVAL', 120);

Don’t worry, here is an explanation of what this codes does. The first line tells WordPress to save only 4 post revisions of any article. Of course you can change this to any other number. This would help in minimizing the extra clutter from your website, as now only the last 4 revisions will be saved and not more than that.

The second line tells WordPress to auto save every post/article after 120 seconds. It won’t autosave until and unless this time duration is met. Note that you need to enter duration in seconds and not minutes.

So this is how you can customize the auto save frequency by editing wp-config.php. As said above, before doing anything, its recommended to take a backup of this file, as this is a core file and any error here can create many problems.

Disable Post Revision/Auto Save

Post revisions help us to recover posts to an earlier version, so that we are saved from the hassles of writing the entire post again. In most cases, you wouldn’t really want to disable post revisions in WordPress. But if you want to do, then all you need to do is to just add this line in your wp-config.php file:

define('WP_POST_REVISIONS', false);

This will disable post revision in your site.

Download Filezilla from here.

Related: Video Tutorial on How to Install WordPress

Filed Under: WordPress

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

STAY CONNECTED

  • Facebook
  • RSS
  • Twitter
  • YouTube

SUBSCRIBE

Subscribe now to get the latest updates from this blog right to your Inbox

Recent Posts

  • 6 Things to Remember Before Buying a Micro SD Card
  • 5 Best Android Stock Market Apps for India
  • Facebook App Alternatives for Android , and Why You Should Use Them
  • Kindle Oasis vs Voyage vs Paperwhite: Which one to Buy

Footer

Links

  • About
  • Subscribe
  • Contact
  • Advertise
  • Privacy Policy

Books on cloud storage services:

  • Mastering OneDrive And Office Online
  • Mastering Google Drive and Docs (With Tips)
  • Mastering Dropbox with Useful Tips and Apps

Must Read Articles

  • How to Change Default Apps on Android
  • 6 Tips to Increase Battery Life on Android 4.4 KitKat Devices
  • How to Transfer Documents and Files to your Kindle
  • 5 Best Free Offline Dictionary Apps for Android

© Copyright 2016 Technostarry · All Rights Reserved ·