Support » Fixing WordPress » Mass Deleting of Posts

  • Hi all,

    We run several blogs at my school. When the ‘class’ is over, the teacher wants to start new – same template and other accoutrements, just no postings from the prior class.

    Is there a way to delete them all en masse?

    Is there a way to archive them somehow (beyond the standard archiving … that still lists postings by their categories … I’d rather not ‘de-select’ those cats from the posts.




Viewing 5 replies - 1 through 5 (of 5 total)
  • Mark (podz)


    Support Maven

    I would export the database, the save a copy of everything on the server. That gives you the ‘history’ which you could recreate any time if needed.

    Then delete the database.
    Then make a database

    Then run install again.
    This will give you a clean database for the next class but will keep all the plugins / themes / other changes you may have made. It could generate some errors though depending on the plugins, but they will need dealing with seperately.

    You may need / want to delete any images folders and suchlike.

    Could that be an option ?

    Thanks Podz, that should/could work, will it help if I deactivate the plugins first?

    I saw some references to archiving hacks, but most of them either didn’t do what I wanted or are no longer available. Any suggestions? We’d be fine with keeping the content if it wasn’t “in the way,” LOL!


    Why not just use WordPress MU? Then everyone can have there own WordPress install to play with each and every lesson 🙂

    Phunky, I’d love to, I’ve looked at MU, and I’m impressed, but something is holding me back … is it really ready for prime time? I’d read that it wasn’t. :/ Thanks and Happy Holidays! -kj-

    Two possibilities:

    1. if you have DB space to waste, start a new DB or use a new table prefix. keep all the template stuff, just repoint the db, restart a wp config for it. Then your old stuff is always still around, and could be accessed if needed.
    2. you can from SQL admin tools flush items from the various tables (the way I’d likely do it), but that gets a bit more complex.
    3. you could probably come up with a way to ‘hide’ items from normal viewing that are additionally tagged with an ‘archival’ category, so only selecting the ‘archival’ cat somewhere would list those posts — otherwise they’d be hidden. Not sure if an existing plugin will do this, but should be small coding.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mass Deleting of Posts’ is closed to new replies.