Cleaning up WordPress Revisions with Revision Cleaner

Last week I showed you how to control the number of revisions that are saved for each post using the Revision Control plug-in.

That stops too many revisions being saved in the futures, but I suspect that most of you reading this will already have a blog running, and will therefore have quite a number of revisions already in the site’s database.  Since the database is searched every time a post is displayed, it makes sense to remove these revisions as well so as not to slow down the time it takes to retrieve the post. Continue reading

Posted in Plug-ins | Tagged , , | Leave a comment

Controlling WordPress Revisions with Revision Control

When you write a post in WordPress, it is advisable to save it every now and then in case something goes wrong.  Your computer or the web browser may crash, or you may lose the internet connection.  In early versions, each post was saved just once and so when you saved your work, it overwrote the previous version of the post.  On occasion that went wrong and the whole post was lost.

So WordPress introduced “revisions”.  Put simply, every time you save the post, a new copy of it is saved, similar to in Wikipedia.  This stops things getting overwritten, and also allows you to revert back to a previous version if you want to do so.

The only with this is that by the time you come to publish the post, it probably has several versions saved in the site’s database.  And since WordPress automatically saves edited posts sometimes as well, this can make the posts part of the database several times larger than it needs to be.  After all, once a post has been published, you may not need all of those versions. Continue reading

Posted in Plug-ins | Tagged , , | Leave a comment