I recently used an image importer that has duplicated all the images. They are attached to the right posts and the posts are fine (not duplicated).

How do I run through my media library deleting duplicate images?

2 Answers 2


I know its too late for this answer, but can help others, you can use Media Deduper plugin to index and find duplicated image , it is also good enough to link the post to existing image.


The best way (if the duplicated images are the ones attached) is to order by date, and bulk delete all the older ones.

  • 1
    I'm not sure I understand. Could you expand on your answer, please? Do I do this via the wordpress admin or creating a loop?
    – UzumakiDev
    Mar 8, 2014 at 17:39
  • Go to the media library, order the files by date, and delete all them old ones.
    – Sormano
    Mar 8, 2014 at 17:51
  • 1
    They all have the same date as they were all "edited" at the same time. There are 1000+ images.
    – UzumakiDev
    Mar 8, 2014 at 18:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.