How To Disable & Delete Post Revisions in WordPress

Blogging, Tutorials Add comments




WordPress automatically saves post revisions of every post you create, everytime you edit it. This feature may be useful if you are trying to collaborate with other authors on the same post or if you want to automatically take backups of any changes you make. But most of us don’t need it; it just adds redundant rows in the wp_posts table and adds unnecessary bulk to your database.

To disable post revisions-

Edit the wp-config.php file in your blog directory and add the following line at the end

define(‘WP_POST_REVISIONS’, false);

To delete existing post revisions-

Download the WP-Optimize plugin and install/enable it on your blog.

Go to Dashboard > WP-Optimize and tick Remove all Post revisions. Click on the Process button and all the post revisions will automatically be deleted.

Related Posts

22 Responses to “How To Disable & Delete Post Revisions in WordPress”

  1. Chair Pads · Says:

    sometimes windows7 won’t install if you install it on a pc with a previous installation of windows XP ”

  2. PH Paper Says:

    well, i have troubles installing windows7 on my PC. maybe i need a bios update or something “`*

  3. Tomas Millare Says:

    I’m really enjoying the theme/design of your weblog. Do you ever run into any internet browser compatibility problems? A number of my blog audience have complained about my website not working correctly in Explorer but looks great in Firefox. Do you have any suggestions to help fix this issue?

  4. Can Says:

    Perfect ! Thanks :)

  5. Bilgi Says:

    Great :)

  6. Canasta Spielregeln Says:

    excellenta oparti mi bafev te rasmo mofulhad ersivente. intitent te recour pisso nos icigmal o souradeda efeciare tuaisipe bien.

  7. Roel Yap Says:

    excellent job..thanks

  8. BG mail Says:

    Great info over again. I am looking forward for more updates!

  9. famous birthdays Says:

    Thanks, I’ve just been looking for information about this topic for a while and yours is the best I have discovered so far. But, what concerning the bottom line? Are you positive about the source?

  10. miniature guitar Says:

    you might have a great weblog here! would you wish to make some invite posts on my weblog?

  11. yeah go shopping Says:

    Good day very nice web site!! Guy .. Excellent .. Superb .. I will bookmark your website and take the feeds additionally…I am happy to seek out a lot of useful information here in the put up, we need develop more strategies in this regard, thank you for sharing.

  12. Lin Tomash Says:

    Lastly, a difficulty that Im passionate about. I have looked for data of this caliber for the last a number of hours. Your website is drastically appreciated.

  13. boston wedding photographer Says:

    I used to be more than happy to search out this internet-site.I wanted to thanks to your time for this glorious read!! I definitely enjoying every little little bit of it and I’ve you bookmarked to take a look at new stuff you blog post.

  14. Shelton Kerkel Says:

    Οn 28th June, а grоunԁ bгеаkіng Wогdргeѕs Plugin wаѕ relеаsed. Тhiѕ plugіn iѕ how Danіel Таn (оwneг of ЅEΟ Соmраnу) hеlрed thоuѕаnds of hіѕ сlients гаnk thеiг webѕіtes on Goоglе #1! See the plugin in action here: http://hurghadaeconomy.com/member.php?u=161141

  15. internapoli city Says:

    Nice blog right here! Also your site loads up very fast! What web host are you the use of? Can I am getting your affiliate link in your host? I wish my website loaded up as quickly as yours lol.

  16. Call India Cheap Says:

    What i don’t understood is in reality how you are now not actually much more well-favored than you might be now. You are so intelligent. You realize therefore significantly in relation to this topic, made me individually believe it from so many various angles. Its like women and men don’t seem to be fascinated until it is one thing to do with Lady gaga! Your own stuffs nice. At all times maintain it up!

  17. Inn Says:

    I have not checked in here for a while as I thought it was getting boring, but the last several posts are good quality so I guess I’ll add you back to my everyday bloglist. You deserve it my friend :)

  18. Who is check tools Says:

    An impressive share, I simply given this onto a colleague who was doing a little analysis on this. And he in reality bought me breakfast because I discovered it for him.. smile. So let me reword that: Thnx for the deal with! However yeah Thnkx for spending the time to debate this, I feel strongly about it and love reading extra on this topic. If attainable, as you grow to be experience, would you thoughts updating your weblog with more particulars? It is extremely useful for me. Large thumb up for this weblog submit!

  19. Lelo vibrators Says:

    Spot on with this write-up, I truly suppose this website needs way more consideration. I’ll most likely be again to learn much more, thanks for that info.

  20. contratar iberbanda Says:

    hi!,I like your writing very much! proportion we communicate more approximately your article on AOL? I need a specialist in this house to unravel my problem. Maybe that is you! Having a look ahead to peer you.

  21. Hope Tomski Says:

    Many thanks in your web site! I actually like what you’re doing here.

  22. Rwa kulszowa Says:

    Od dawna szukałem artykułu na temat How To Disable & Delete Post Revisions in WordPress | Pathik Shah . Dzięki

Leave a Reply

All rights reserved by Pathik Shah.
Entries RSS Comments RSS Log in