If you’re like me, you probably click the Save Draft button every few minutes while entering a post. Sometimes it is necessary to revise or update a post which adds even more revisions.After a blog has 50 posts of more, data bases begin to fill up with junk.
I hope one day WordPress will include an option in the Dashboard to set a specific number of revisions but until that happens, here’s how to do it manually.
All you have to do is edit the config_wp.php file and add this line of code above the line that reads: “That’s all, stop editing! Happy blogging”.
define(‘WP_POST_REVISIONS’, 3);
The number 3 means 3 revisions. You can enter any number you want including 0. I think for most bloggers 3 is probably a reasonable number and I can’t imagine anyone going back to the previous 10th or 15th version of a post.
On Bluehost, go to Control Panel, File Manager, and select your blog. When the list of files displays, select wp-config.php and choose Code Edit. If you’re not sure just contact tech support.
The next thing I’d like to try is remove all the old revisions from my blog posts but I’ll leave that for another day.
P.S. I tried editing several existing pages and posts, on another blog, that had more than 20 revisions and the # of revisions changed to 3. So this is a simple way to clean unwanted data, risk free.










Leave a Comment Here's Your Chance to Be Heard!