How to Delete WordPress Post Revisions

Just take a note, maybe I will use it someday. My memeries do not always serve me, tha’s so sad, -_-!!

As we all know WordPress saves your drafts automatically, that leaves a lot of revisions as backups on the server. It’s good, who wouldn’t  piss off if he typed for a long time and encountered some accidents like computer shut down for no reason. But on the other hand, when my articles posted, in most of the cases, I don’t need these revisions any more. Leaves them on the server as redundancy is useless and I guess they are adverse to the server’s performance. O.K., then things get really simple: KILL THEM ALL!

Try to access your WordPress database through some tools like phpMyAdmin(that’s the only tool I familiar with…), follow the steps below:

  1. Your database
  2. SQL
  3. type the following codes
    DELETE FROM wp_posts WHERE post_type = "revision";
  4. then press the button “Go”

Job Done.

2 thoughts on “How to Delete WordPress Post Revisions

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>