{"id":1121,"date":"2016-01-12T10:41:21","date_gmt":"2016-01-12T07:41:21","guid":{"rendered":"https:\/\/sobbayi.com\/?p=1121"},"modified":"2016-01-12T10:41:21","modified_gmt":"2016-01-12T07:41:21","slug":"how-to-disable-multiple-wordpress-post-revisions","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/how-to-disable-multiple-wordpress-post-revisions\/","title":{"rendered":"How to Disable Multiple WordPress Post Revisions"},"content":{"rendered":"
Many people may have been grappling with a feature in WordPress<\/a> which makes it save several post revisions every time the writer updates a post.<\/p>\n WordPress is a great piece of web-based software for bloggers and online publishers in general.<\/p>\n This is a feature built into WordPress by default that allows the writer to automatically leave a paper trail of back-ups for each post.<\/p>\n These revisions are actually full posts created every time the update button is pressed in the post editor. The reason for this is that it allows the publisher to roll back any article to any previous version.<\/p>\n These WordPress post revisions do not necessarily affect the experience of the website visitors so generally if you do not need them there is no reason to keep them around.<\/p>\n The main problem with the post revisions is that they can really make your WordPress post table grow to really large size.<\/p>\n Let’s say you have thousands of articles running on WordPress, depending on how you edit your articles you can have an average of two to three revisions per post and that can triple, quadruple the size or more of your WordPress MySQL<\/a> database post table.<\/p>\n To keep your table clean and lean there is a way to disable WordPress post revisions.<\/p>\n All you need to do is:<\/p>\n That’s it. Your WordPress installation will no longer create the multiple post revisions every time you make a post update.<\/p>\nWhy WordPress Post Revisions?<\/h2>\n
\n
\ndefine(‘WP_POST_REVISIONS’, false );<\/strong><\/li>\n<\/ol>\n