WPCode will automatically add the code to limit post revisions
Posted: Mon Jan 20, 2025 6:40 am
Then simply switch the switch at the top of the page from 'Inactive' to 'Active' and click the 'Update' button.
Switch the code snippet to Active and click Update in WPCode
That's it. You have now successfully limited the number of posts WordPress will save.
How to delete old post changes in WordPress
Old post revisions are completely harmless and in most cases do not need to be deleted. However, if you have a very large site with thousands of articles, deleting old post revisions can help reduce the size of backups.
First, you need to install and activate the WP-Optimize plugin . For more details, see our step-by-step guide on how to install a WordPress plugin .
Once activated, go to the WP-Optimize “ Database” page and check the box next to the “Clean all post revisions” option.
Clean post revisions
Now click on the “Run Optimization” button to list of sweden cell phone number clear all post revisions. Once you have cleaned up the revisions, you can uninstall and delete the plugin.
To learn more about this plugin, read our detailed WP-Optimize review .
Deleting WordPress post changes via phpMyAdmin
Advanced users can also delete WordPress post revisions via phpMyAdmin.
First, make sure you have created a full backup of the WordPress database .
After that, simply log into your WordPress hosting control panel and click on the phpMyAdmin icon.
Switch the code snippet to Active and click Update in WPCode
That's it. You have now successfully limited the number of posts WordPress will save.
How to delete old post changes in WordPress
Old post revisions are completely harmless and in most cases do not need to be deleted. However, if you have a very large site with thousands of articles, deleting old post revisions can help reduce the size of backups.
First, you need to install and activate the WP-Optimize plugin . For more details, see our step-by-step guide on how to install a WordPress plugin .
Once activated, go to the WP-Optimize “ Database” page and check the box next to the “Clean all post revisions” option.
Clean post revisions
Now click on the “Run Optimization” button to list of sweden cell phone number clear all post revisions. Once you have cleaned up the revisions, you can uninstall and delete the plugin.
To learn more about this plugin, read our detailed WP-Optimize review .
Deleting WordPress post changes via phpMyAdmin
Advanced users can also delete WordPress post revisions via phpMyAdmin.
First, make sure you have created a full backup of the WordPress database .
After that, simply log into your WordPress hosting control panel and click on the phpMyAdmin icon.