If you’re a minimalist like me, you would be worried about the number of Post Revisions in your WordPress blog. Revisions are stored in your blog for genuine purpose – to let you easily find, compare, and rollback to a version. However, some users might find the sheer number of revisions stored in your database as a headache – especially if the database space is limited or the site is already struggling with slow database queries.
Additionally, keeping the blog database clean and trim makes it more manageable and portable should you need to backup or migrate to a different server.
Here’s how you can disable the number of revisions stored for a post. Additionally, I will show you how to extend the auto-save interval.
Find the wp-config.php in the root directory of your WordPress installation:
Open the file in your favorite text editor and add the two lines of code:
define('AUTOSAVE_INTERVAL', 600 ); // autosave every 600 seconds - bloghow.com
define('WP_POST_REVISIONS', false ); // disable revisions - bloghow.com
Save the file and that should disable all future revisions to your content.
Your auto-save interval will now be increased to 600 seconds, which is 10 minutes.
Having said that, you’ll still see the existing revisions that are already stored in your database. To clean them up, you can directly run this query in your database (easily via phpMyAdmin):
DELETE FROM wp_posts WHERE post_type = "revision";
You may alternatively install a plugin that can do it for you without having to manually run database queries.
Either way, this will delete all previously stored post revisions from your database. New revisions will not be stored as you’ve already made the changes in the wp-config.php file.
Got a question, ask in the comments below.
Where in the file should I add the code?
You can add the lines almost anywhere in the file. Keeping it simple, why not add them at the end of the file?
What a data of un-ambiguity and preserveness of precious experience on the topic of unpredicted feelings. Jessalyn Domenic Lilllie
Well done Ronald for keeping the chiredzi fire burning. Carolann Sancho Babette
Fastidious answer back in return of this issue with solid arguments and describing all about that. Philipa Jarred Turley
Thanks again for the blog article. Thanks Again. Great. Windy Dave Vipul
Denish and several others say, efforts are needed to develop private alternatives to pay day loans. Juliann Alphonso Alba
I was just about to ask the same question! We have a coconut allergy in the family. Sibylla Tyson Ailina
It’s nearly impossible to find knowledgeable people on this topic,
however, you seem like you know what you’re talking about!
Thanks
Thanks , I have just been looking for information about this subject for ages and yours is the greatest I have came upon so far. Delly Salim Pavior
I am thinking of visiting your website again Thanks Breanne Irving Romilda
Heya i am for the first time here. I came across this board and I to find It really helpful & it helped me out a lot.
I’m hoping to present something again and help others
such as you aided me.
Next time I read a blog, Hopefully it does not fail me just as much as this one. After all, I know it was my choice to read, but I genuinely thought you would probably have something useful to talk about. All I hear is a bunch of crying about something you can fix if you were not too busy searching for attention. Clovis Gregory Skye
Hurrah! Finally I got a weblog from where I can genuinely take helpful facts regarding my study
and knowledge.
Pretty! This was an incredibly wonderful post. Many thanks for supplying this info. Lanita Tirrell Mordy
Thanks for your personal marvelous posting! I truly enjoyed reading it, you might be a great author.I will ensure that I bookmark your blog and may come back
at some point. I want to encourage that you continue your great
posts, have a nice weekend!
Hey there! I just wanted to ask if you ever have any problems with
hackers? My last blog (wordpress) was hacked and I ended up losing a few
months of hard work due to no data backup.
Do you have any solutions to prevent hackers?
Hey there! Someone in my Myspace group shared this site
with us so I came to give it a look. I’m definitely enjoying the information. I’m
book-marking and will be tweeting this to my followers!
Wonderful blog and superb design.
There was been fooling around for approximately 10 minutes and then she attempted to grab my penis. You can easily start sexual activities if you wish. But thankfully, today, the spark can be brought to return. Jen Cal Taryn
Having read this I thought it was extremely informative.
I appreciate you spending some time and energy to put this information together.
I once again find myself spending a lot of time both reading and leaving
comments. But so what, it was still worth it!
great example michael. where have all the men like MLK gone? Tani Dukey Mia
I was very pleased to discover this website. I want to to thank you for your time for this wonderful read!! I definitely appreciated every little bit of it and I have you saved as a favorite to check out new information in your website. Merline Quinn Wit
The main thing is that the earnings scheme is working, I personally checked! Betsy Casar Ferdinana
Now we know who the sensible one is here. Great post! Blinny Delmore Leonteen
Hi my friend! I wish to say that this article is awesome, great written and come with approximately all vital infos. I would like to look more posts like this . Zorah Donn Borroff
Wonderful story, reckoned we could combine a number of unrelated information, nevertheless really really worth taking a look, whoa did 1 discover about Mid East has got a lot more problerms as well Arleyne Kleon Crooks
Xiao Zhan without doubt is the best of all. I hope he comes back stronger and better. May he gain enough strength and peace to sail through this rough waves of life. You gonna rock for sure Xiao Zhan. Waiting to see u at the movies. Pepita Cobb Hibbert
Wow, wonderful blog layout! How long have you been blogging for? Edie Sasha Arlina
Hi friends, nice paragraph and pleasant urging commented here, I am truly enjoying by these. Holli Gabbie Tri
Praise God that Emilie Grace is home with her loving parents! I learned a meaning for GPS. It stands for Grace Positioning System. Know that God is still in control as he guides you all through the journey. Elisa Fredrick Hernardo
You made some decent points there. I looked on the internet for the subject matter and found most people will agree with your website. Ertha Lannie Rhianna
Heya i am for the first time here. I found this board and I find It truly useful & it helped me out a lot. I hope to give something back and help others like you aided me. Lu Wilfrid Leith
This truly is an incredibly awesome potent resource that you are supplying and also you just deliver it away cost-free!! I comparable to discovering internet websites that view the certain cost of offering you stunning mastering resource for zero cost. We actually dearly loved examining this web site. Be thankful! Barbi Russ Au
A motivating discussion is worth comment. I do think that you
need to publish more about this topic, it may not be a taboo matter but usually folks don’t talk about these topics.
To the next! All the best!!
Saved as a favorite, I really like your website!
If you are going for best contents like myself, simply visit this website all the time since it gives quality contents, thanks Zelda Nicholas Jermaine
This page definitely has all the info I wanted about this subject and didn’t
know who to ask.
I like what you guys are up also. Such clever work and reporting! Eloise Lorens Lunnete
That is really attention-grabbing, You’re a very skilled blogger.
I have joined your rss feed and look forward to in quest of extra of your
excellent post. Additionally, I have shared your site in my social networks
I have recently started a web site, the info you offer on this website has helped me greatly. Thanks for all of your time & work. Alex Dion Eustazio
This is very nice information thanks for share your blog with us.. Jessamyn Kerry Stambaugh
You made some good points there. I looked on the net for additional information about the issue and found most people will go along with your views on this site. Ulrikaumeko Morlee Boelter
hey there and thank you for your information ? I have certainly picked up anything new from right here. I did however expertise a few technical issues using this website, since I experienced to reload the web site a lot of times previous to I could get it to load correctly. I had been wondering if your hosting is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and can damage your high quality score if advertising and marketing with Adwords. Anyway I am adding this RSS to my email and could look out for a lot more of your respective interesting content. Make sure you update this again very soon.. Sianna Ransom Parris
You are my inspiration , I have few web logs and rarely run out from to post . Petrina Mordecai Jevon
I really like it when individuals get together and share opinions. Linnie Urbanus Gagliano
After looking over a handful of the blog articles on your web site, I truly like your technique of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Please check out my web site as well and tell me your opinion. Marianne Dar Blight
Nam eget massa vel velit viverra pretium vel elementum purus. Raphaela Bastien Highams
Some really choice content on this internet site , saved to my bookmarks . Roxane Allen Hanna
Heya terrific blog! Does running a blog such as this take a great deal of work? Dell Cchaddie Means
Mensen die niet willen wachten op iOS 6 tot de herfst kunnen hun UDID laten registreren. Op deze manier is het hoogstwaarschijnlijk maandag al mogelijk om over iOS 6 te beschikken. Voor meer info zie mijn website. Alana Marshal Goldstein
These are genuinely enormous ideas in regarding blogging. You have touched some pleasant points here. Any way keep up wrinting.| Daryl Aguste Arline
Hi! This is my first visit to your blog! We are a team of volunteers and starting a new project in a community in the same niche. Harriott Barney Jordana
Sed lacinia, urna non tincidunt mattis, tortor neque adipiscing diam, a cursus ipsum ante quis turpis. Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices. Iormina Simeon Schott
After looking into a few of the articles on your web page, I truly appreciate your way of blogging. I bookmarked it to my bookmark site list and will be checking back soon. Take a look at my website as well and tell me what you think. Monica Boris LaMonica
Bagi semua para pemain pasti diwajibkan punyai sedikit pemahaman tentang sistem akurat. Menang main game mpo slot online di web Mpo Slot Online. Sebelum taruhan anda mainkan. Jarang kali banyak pemain tidak mengayalkan hal tersebut. Hampir segala rata-rata pemain hanya menghendaki terdapatnya suatu kemujuran didalam tiap-tiap spin yang dikerjakan. Arly Paxon Kloster
I like the helpful information you supply in your articles. Tami Rad Julius
Wohh just what I was searching for, appreciate it for posting. I love your site! Nita Collin Pfeifer
I got what you mean, thank you for putting up. Woh I am glad to find this website through google. Kata Elwyn Maurilla
If you want to take much from this paragraph then you have to apply these methods to your won blog. Eula Martin Kai
Appreciation to my father who told me about this weblog, this web site is truly remarkable. Alameda Fitz Chane
Great beat ! I would like to apprentice at the same time as you amend your site, how can i subscribe for a blog web site? The account aided me a appropriate deal. I had been a little bit acquainted of this your broadcast offered shiny transparent idea| Antonetta Pavel Rior
Yes I did have the exact thought you opened with. Lol. Was it just a re-release or did they rerecord with the new members? Brier Otes Undine
Undeniably believe that which you stated. Your favorite reason seemed to be on the net the simplest thing to be aware of. Misha Basile Acus
I would like to express my respect for your generosity in support of those people that really want help on this subject. Your personal dedication to getting the message all over was incredibly valuable and have specifically made guys and women much like me to arrive at their objectives. Your amazing helpful useful information can mean a whole lot to me and much more to my colleagues. Thanks a lot; from all of us. Barbaraanne Freeman Ressler
Hi there. I found your site by way of Google while searching for a similar matter, your website came up. It looks great. I have bookmarked it in my google bookmarks to visit then. Marcelline See Jerrold
semoga setelah menerapkan cara yang di bahas ini, saya selaku BeHangat. Com bisa semakin baik untuk meningkatkan pengunjung dan lain-lain. TrimS kak. Loise Fair Easton
I would use the nickname, but you could perhaps put your legal name in paren after it. I see people do versions of that from time to time, and it would solve the gender confusion problem. Mellie Dolf Dardani
magnificent issues altogether, you just gained a brand new reader. What may you suggest in regards to your put up that you just made a few days in the past? Any sure? Xenia Burtie Jeth
XaILFjDHNzlt
SWGcbrhikP
yWCjVMKarqAGuO
[url=http://cialisrmp.com/]cialis over the counter in canada[/url]
[url=https://medrolmedication.com/]medrol 4mg tablets[/url]
[url=https://cialisdisp.com/]cialis india online pharmacy[/url] [url=https://zmedsearch.com/]lasix 400 mg[/url] [url=https://ondansetronzofran.com/]zofran price[/url] [url=https://cialisopp.com/]tadalafil 1mg[/url] [url=https://cialisorder.com/]cialis online india[/url]