Do you want to delete WordPress post revisions? Post revisions is a great feature introduced in WordPress 2.6. Whenever you save a post or a page, WordPress creates a revision periodically so that you can revert back to the previous version of your content. However, these post revisions affect your WordPress site performance.
In this tutorial, I’m going to share how to delete post revisions in WordPress with a single click.
So, let’s get started…
Brief Descriptions of The Content
How to Delete WordPress Post Revisions
As I said earlier, post revision is a great feature for WordPress users but when you edit a post or page on your site, WordPress automatically creates the new revision to the database. If you edit a post 10 times it saves 9 copies of that post as revisions. As a result, it increases your database size and hurt your site performance.
For example, If you have 100 posts and each post has 10 revisions, then it stores 1,000 copies of old data in your WordPress database.
Here we have listed some of the best WordPress plugins that help to remove old post revisions from your site.
1. Delete WordPress Post Revisions Using WP-Optimize
WP optimize is a great plugin that optimizes your WordPress database with one click.
To delete post revisions from your WordPress site, click on WP-Optimize. Here you will see Clean all post revisions option. Just hit on Run optimisation.
The plugin deletes old post revisions from your site. Furthermore, it cleans trashed/unapproved/spam comments, pingbacks, trackbacks and expired transient options and more.
2. Delete WordPress Post Revisions Using WP-Sweep
WP-Sweep is another great plugin that clean your WordPress database and includes an option to delete post revisions.
To delete WordPress revisions, Click on Tool >> Sweep. Here you will see Revisions under Post Sweep section. Just hit on Sweep.
Apart from this, it removes all unnecessary data like
- Auto drafts
- Deleted trashed/unapproved/spam comments
- Duplicated post meta
- Duplicated comment meta
- Duplicated user meta
- Duplicated term meta
- Transient options
- Many more
3. Delete WordPress Post Revisions Using Better Delete Revision
First install and activate Better Delete Revision plugin on your site.
After activating the plugin, click on the Settings >> Better Delete Revision tab. Here you will see two options Check Post Revision and Optimize Your Database.
Simply, click on Check Revision Posts to check posts revisions in your WordPress site.
If your site has WordPress revisions, then It’ill give you the button to delete them. You can see screenshot below,
Wrapping It Up
WordPress Post Revisions take a lot of space on your site’s database and affect your site performance.
If you are publishing posts on your WordPress site for years, you can greatly reduce the size of the database by removing the old post revision.
We hope this article helped you remove post revisions in WordPress. What did you think of today’s post? Let me know by leaving a comment below.
Find this article helpful? Don’t forget to share!
More Resourcess on WordPress:
Leave a Reply