Title: Delete Revisions
Last modified: August 30, 2016

---

# Delete Revisions

 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/delete-revisions-1/)
 * What is the latest best practice to delete revisions? I have added a declaration
   to wp-config.php but need to clean out the current ones.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/delete-revisions-1/#post-6861186)
 * check out some plugins, for example:
 * [https://wordpress.org/plugins/rvg-optimize-database/](https://wordpress.org/plugins/rvg-optimize-database/)
 * [https://wordpress.org/plugins/advanced-database-cleaner/](https://wordpress.org/plugins/advanced-database-cleaner/)
 *  Thread Starter [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/delete-revisions-1/#post-6861193)
 * I looked at the first one RVG however there is a bug in it by the looks of the
   support threads. I’ll check out the second one…
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/delete-revisions-1/#post-6861195)
 * you may find more searching the plugin directory.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/delete-revisions-1/#post-6861197)
 * Also see this thread. It has good discussion and info: [https://wordpress.org/support/topic/deleting-post-revisions-do-not-use-the-abc-join-code-you-see-everywhere?replies=17](https://wordpress.org/support/topic/deleting-post-revisions-do-not-use-the-abc-join-code-you-see-everywhere?replies=17)
 *  Thread Starter [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/delete-revisions-1/#post-6861200)
 * Tara I spent a long time searching before posting this thread. That one is 2 
   years old. I’m looking for information that is current to the database changes
   we’ve had in the last few updates … like Term splitting. Has there been changes
   to the way Revisions are stored etc.
 * I tried the [https://wordpress.org/plugins/advanced-database-cleaner/](https://wordpress.org/plugins/advanced-database-cleaner/)
   on a test site and it seemed to clean them out although I have no idea if the
   meta was cleaned or just the post tables … that’s my problem.
 * Edit: The FAQ shows what statements that are used and its simply running
 * `DELETE FROM posts WHERE post_type = 'revision'`

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Delete Revisions’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Radices](https://wordpress.org/support/users/radices/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/delete-revisions-1/#post-6861200)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
