How do I bulk delete media in Wordpress?

by karma8
4 replies
I have a thousand pictures in my media library, not sure how. Must have been some autoblogging software I used a few years ago. Anyway I want to delete them, but I can only do one page of 20 at a time. I uploaded two different plugins, one at a time, but neither of them would do it.

Any help would be appreciated, thanks
#bulk #delete #media #wordpress
  • Profile picture of the author tajimd
    There are 2 ways to do this:

    1. Go to your hosting Cpanel
    Filemanger - public_html >> wp-content >> uploads >> delete all folder that you want gone..

    This will delete all the images that are hosted on your server but this method will still show the files in Dashboard but when you click image link from Dashboard it will give you 404 Error. File Not Found.

    2. Go to Dashboard > Media

    On the Media Page where it lists all the images , look on top right side you will find a dropdown link for "Screen Options" . Click it. It will show you a box.. On the bottom left side of that drop downed box you will find "Media Items" which is set as 20 by default. Increase the size to like 100 or 200 and click Apply and refresh the page.

    Now you have 100 image list displayed on Media Library. Check All >> Hit Delete.

    100 Images deleted at once.
    {{ DiscussionBoard.errors[7154879].message }}
  • Profile picture of the author karma8
    Thanks Tajimd!
    I didn't even think about going into file manager, which I have done many times for other things. and the screen options, funny I almost clicked on it, but didn't.

    I appreciate your free assistance, which to be honest is what I expect at the warrior forum for something like this. Someone pm'd me to offer assistance for $10 and wanted my cpanel log in info. Yeah right, not giving that to just anyone.

    Anyway, thanks again for your help, it worked!
    Have a great day

    Treat others the way you want to be treated. :)
    Check out my updated recipe site and the recent post for easy chewy chocolate brownies...mmm...
    If you want to get a Linkvana subscription, I offer a $30 rebate every month here - Linkvana Discount. Make sure you email your receipt for the rebate b/c I have other promotions that don't offer the rebate. Thx

    {{ DiscussionBoard.errors[7156684].message }}
  • Profile picture of the author topnichewebsites
    ^^ smart move Sandra. Fastest way is via File Manager. Make a backup of the upload folder first in case you delete an image by error.
    Signature <- eBook add eCovers <- WordPress Websites and Maintenance
    {{ DiscussionBoard.errors[7158237].message }}
  • Profile picture of the author boilingstocks
    People on warrior these days are money hungry Sandra !

    Its always good to post such things in this section rather than straight away going to Looking to Hire Freelancers section.
    {{ DiscussionBoard.errors[7159604].message }}

Trending Topics