WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How Get Rid of Revisions? (3 posts)

  1. stevewilson
    Member
    Posted 2 years ago #

    I think I've found how to prevent prior versions from being saved (per Codex, turning off the constant 'wp_post_revisions' in \htdocs\wordpress\wp-inclues\default-constants.php), but how do we get rid of the blizzard of revisions already there? There doesn't seem to be any mechanism -- even to eliminate them manually, one-by-one.

  2. You can delete the post revisions by running a sql statement in your database.
    If you have access to phpmyadmin, you simply run this:

    DELETE FROM wp_posts WHERE post_type = “revision”;

    This will delete all of the posts marked as revisions.
    Here's an article with lots of details

  3. stevewilson
    Member
    Posted 2 years ago #

    Thanks much ! Terrific help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags