Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to turn off Post Revisions

While writing post in your WordPress dashboard you might have seen revisions those are nothing but shows how many times you have edited the post and at which time and author. Turning it off saves lots of Database space.

Turning post revisions off is quit a too much simpler task. Just open your wp-config.php and add below peice of code :

define('WP_POST_REVISIONS', false);

and now save the file. Now Revisions have been turned off.

if it was active for some time then you can clear those by runing a simple MySQL query in PHPMyAdmin :

DELETE FROM wp_posts WHERE post_type = "revision";

If you use WP-DBManager then also you can run this query through it.

How to Limit Post Revisions

Now it is possible to limit post revision and save a specific amount of revisions instead of completely turning it off. To do so paste the below code in wp-config.php:

define('WP_POST_REVISIONS', 3);

In the above code instead of 3 you can specify any number of revisions you want to save.

Update – 11/11/2014 – Added How to limit post revisions.

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • WhatsApp
  • Email

Related

March 21, 2011 Ritesh Sanap WordPress dashboard, limit, revisions, Tricks, WordPress Tips, wp-config.php

Leave a Reply Cancel reply

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

Post navigation

Previous Previous post: How to Insert custom content after each post
Next Next post: How to redirect your homepage to the first post

Currently Trending

  • How to download Specific parts of YouTube videos
  • How to Make Your Own Avatar
  • You might also like this Widget for blogger or Related post widget
  • How to Delete Feedbacks from JetPack Contact Form
  • List Of All 255 Keyboard All Alt Key Codes
  • 100+ Best Online Games - Who Else Wants to Play ?
  • How to Change the Welcome/Login Screen in Windows XP ?
  • Windows Vista CD key
  • Add/Remove page/Post View Counter Widget For Blogger
  • h4x0r ( Hacker ) - Blogger Template

Get Latest post in your Inbox

Random Posts

How to Digg Post Automatically

November 3, 2010 By Ritesh Sanap 7 Comments

Google Launches Virtual World – Lively – Now Play your Second Life on the Net

July 9, 2008 By Ritesh Sanap Leave a Comment

Orkut Update – Now Get Friend Requests only from people of your Choice. – Reduce Strangers in your Friend List

July 29, 2008 By Ritesh Sanap Leave a Comment

How to add back to top button

March 2, 2009 By Ritesh Sanap Leave a Comment

Fazio – Blogger Template

October 30, 2010 By Ritesh Sanap 2 Comments

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2023 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean