WordPress plugin
Media Deduper Pro
Media Deduper Pro compares the original file associated with each media attachment. It calculates an MD5 hash and stores it as post metadata. Matching hashes identify files with the same data, regardless of their titles, captions, or other WordPress metadata.
How Media Deduper identifies duplicate media
Media Deduper Pro compares the original file associated with each media attachment. It calculates an MD5 hash and stores it as post metadata. Matching hashes identify files with the same data, regardless of their titles, captions, or other WordPress metadata.
The extension distinguishes separate media entries linked to files with identical data from multiple items pointing to the same underlying file. The latter can occur with plugins such as WP Job Manager or Duplicate Post.
Index files before reviewing matches
Media Deduper first builds an index of the media library. Initial indexing can take time, especially for a large library. Media Deduper Pro includes faster indexing, and the extension adds new uploads automatically once the initial index is established.
Open Media > Manage Duplicates to review matches. The list includes every copy because the plugin cannot determine which one you prefer to keep from its metadata. It is sorted by file size by default, so larger files appear first.
Smart Delete and Featured Images
Smart Delete helps preserve a post’s Featured Image when removing a duplicate. If that image has another in-use copy, Smart Delete can reassign the post to that copy before deleting the duplicate. It will also skip an entry if deleting it would leave no copies.
Smart Delete tracks Featured Images only. It does not track pictures in galleries, post bodies, shortcodes, meta fields, or other locations. Review each selection carefully before deleting.
Image fields, setup, and requirements
Media Deduper Pro supports image fields from several plugins, including WooCommerce and Yoast SEO. Install and activate the plugin, open Media > Manage Duplicates, and allow the initial index to finish before reviewing duplicates. Back up your website data before using deletion capabilities, since cleanup can permanently affect database records or files.
Media Deduper requires PHP 7.0 or later. Media Deduper Pro includes dedicated support from Cornershop Creative.