🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Duplicate Media Guard icon
aktiv gepflegt Getestet mit WP 7.1 #3 in duplicate images

Duplicate Media Guard

Prevent duplicate media uploads, find duplicate images, and replace WordPress media while keeping attachment IDs intact.

Aktive Installationen40+10+ Stufe
Downloads · 30d522▲ +113.1% vs prev. 30d
Wertung5/53 Bewertungen
Gesundheits-Score74/100Gut
Downloads aller Zeiten945Since Sep 2026
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 6.2PHP 7.2+
Downloads · 7d260▲ 4× week over week
Unser Urteil

Solide Wahl

Duplicate Media Guard is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40+ sites, is rated 5/5 and was last updated 2 days ago, and scores 74/100 on our health check.

  • Aktiv entwickelt — Letztes Update vor 2 Tagen
  • Getestet mit dem neuesten WordPress (7.1)
  • Momentum — downloads up 113.1% vs the previous 30 days
  • Kleine Benutzerbasis (40+ aktive Installationen)
  • Bisher sehr wenige Bewertungen

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

214263Sep 13Oct 22Dec 1
Gestern44
Täglicher Durchschnitt (1 Jahr)12
Spitzentag84Nov 27, 2026
Letzte 12 Monate924

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Duplicate Media Guard stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
duplicate images #38 4,650 Best duplicate images plugins →
duplicate media #12 2,821 Best duplicate media plugins →
media replace #47 3,310 Best media replace plugins →
replace image >100 5,448 Best replace image plugins →
replace media #44 3,316 Best replace media plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 2.1100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 3 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Duplicate Media Guard

From the official readme · v2.3.1

Beschreibung

Duplicate Media Guard helps keep your WordPress Media Library organized by preventing duplicate uploads, identifying duplicate images, and replacing existing media files without creating a new attachment.

Need to replace a media file in your WordPress Media Library? The plugin adds a Replace media action directly in the Media Library. Upload the replacement and choose whether to keep the existing filename and URL or use the new filename and update matching references in supported WordPress content and metadata. The attachment ID is retained in both modes.

Beyond media replacement, Duplicate Media Guard helps prevent accidental re-uploads. Filename checks catch matching names, exact file hashing identifies byte-identical images, and perceptual hashing can identify resized or recompressed images even when filenames differ. When potential image matches are found, the uploader shows previews so you can review them before deciding whether to cancel or continue.

Why use this plugin?

  • Replace media in WordPress without creating a new attachment; keep the existing URL or update supported WordPress references, depending on the selected mode.
  • Prevent accidental duplicate uploads and reduce unnecessary storage use.
  • Review possible image duplicates before uploading.
  • Works with the standard WordPress Media Uploader — no custom upload interface to learn.

How Replace Media works:

Enable Enable Media Replace in the plugin settings. A Replace media link then appears in the Media Library for any file you have permission to edit. Upload the replacement and choose one of two replace modes:

  • Replace file only — keeps the same filename, URL, and folder. The replacement must be the same file type.
  • Replace file and update all links — uses the new filename and updates matching references in supported WordPress content and metadata. Links on external websites are not changed.

The attachment ID is preserved in both modes. The existing URL is retained only when you choose Replace file only.

Duplicate detection examples:

  • logo.png and logo.png → Duplicate
  • logo.png and logo.jpg → Duplicate (when extension check is disabled)
  • banner.webp and banner.webp → Duplicate
  • photo.jpg and a resized or recompressed copy.webp → Possible visual duplicate (when visually similar detection is enabled)

This helps reduce unnecessary duplicates and storage use while still allowing intentional uploads.

Hauptmerkmale

  • Replace an existing media file while retaining its attachment ID; keep the current URL in Replace file only mode or update supported WordPress references in the other mode.
  • Review possible image duplicates with existing-media previews before uploading.
  • Detect byte-identical images using exact file hashes.
  • Identify resized or recompressed images using perceptual hashes.
  • Match filenames with or without their file extensions.
  • Enable or disable duplicate protection and image hash checks independently in the settings.
  • Use the standard WordPress Media Uploader — no custom upload interface needed.
  • Index existing image fingerprints gradually in the background.
  • Recheck previously uploaded images from Media → Duplicate Media Settings → Duplicate Media if the initial background index missed files.
  • Review exact duplicate image groups in Media → Duplicate Media Settings → Duplicate Media, compare file details, and choose a primary attachment without changing media.

The settings screen has General Settings and Duplicate Media tabs. The Duplicate Media tab uses saved SHA-256 image fingerprints, shows up to 10 attachments per group, and displays 20 duplicate groups per page. Search by filename or title, and sort media within each group. File details are collapsed until View image details is clicked; image dimensions appear centered over each preview. Use Recheck existing media to restart background fingerprinting from the beginning and find older images that were not indexed previously. The page reflects matches as indexing progresses. Free merging is limited to 50 duplicate groups in total, with groups over three images requiring Pro. After the 50th successful Free group merge, an upgrade dialog explains the limit; additional groups are blocked by the server until Pro is active. Before changing references, the plugin re-hashes every selected file and saves a private backup of the source file, generated image sizes, attachment data, and supported references. Backups are kept indefinitely outside the public WordPress directory; merging is blocked if a private writable location and restrictive file permissions cannot be verified.

Merge updates matching media URLs in post content, excerpts, and post metadata (including generated image-size URLs), and updates WordPress _thumbnail_id featured-image metadata. Each reference source is limited to 500 matches; if a source exceeds the limit, the operation stops without deleting the duplicate. The plugin backs up, verifies, and rescans supported references before deleting an attachment. Widgets, plugin-specific attachment-ID fields, external sites, and custom storage locations are not updated. Saved hashes may be stale if files are changed outside WordPress, so selected files are checked again immediately before merge. Bulk operations process one attachment per request and can resume after an interrupted request; failed updates are logged and do not trigger deletion.

Developer Integration

The Free plugin exposes a versioned PHP integration API for compatible add-ons:

  • WDMG_VERSION, WDMG_MINIMUM_WP_VERSION, WDMG_MINIMUM_PHP_VERSION, and WDMG_INTEGRATION_VERSION describe the installed plugin and integration contract.
  • Wdmg_Integration::get_compatibility_info() returns those version values, and Wdmg_Integration::is_compatible( $minimum_version ) checks an add-on’s minimum integration version.
  • Wdmg_Integration::can_manage() and Wdmg_Integration::can_edit_attachment( $attachment_id ) provide server-side capability checks.
  • Wdmg_Integration::get_attachment_data( $attachment_id ) returns attachment details for a user allowed to edit that media item, or a WP_Error when access is denied or the item is invalid.
  • Wdmg_Integration::get_duplicate_groups( $args ) returns paginated exact-image-hash groups and limited post-content / featured-image reference details to administrators, or a WP_Error on denial or query failure. Supported arguments are page, search, sort (filename, date, or size), and order (asc or desc).
  • Wdmg_Integration::start_merge( $primary_id, $duplicate_ids ) and start_bulk_merge( $duplicate_to_primary_map ) create an authorized, server-limited merge operation. Free merging is limited to 50 duplicate groups in total.
  • Wdmg_Integration::process_merge_operation( $operation_id ), get_merge_operation( $operation_id ), and get_pending_merge_operation() process, inspect, and resume the current administrator’s durable operation.
  • The wdmg_register_admin_pages action fires while the Free Media Library submenu is registered and receives the parent slug, required capability, and integration version. Add-ons must still enforce their own authorization on every page and action.
  • The wdmg_admin_tabs filter adds add-on tabs to Media → Duplicate Media Settings. Each tab is keyed by a URL-safe slug and provides a translated label plus a callable callback. The built-in tabs are General Settings and Duplicate Media.
  • Operation lifecycle actions are wdmg_before_merge (operation ID, primary ID, duplicate ID, private backup path), wdmg_merge_after (operation ID, primary ID, duplicate ID, result details), and wdmg_merge_failed (operation ID, primary ID, duplicate ID, WP_Error).

The merge and reference APIs require integration version 2. Only the documented post-content URL and featured-image adapters are supported by this initial merge implementation.

How to Replace Media in WordPress (Step by Step)

  1. Go to Settings → Duplicate Media Guard and turn on Enable Media Replace.
  2. Open your WordPress Media Library.
  3. Click any media item and select Replace media.
  4. Upload the replacement file.
  5. Choose your replace mode and click Update. The attachment ID is preserved; the existing URL stays the same in Replace file only mode, while the other mode updates matching supported WordPress references.

Duplicate Detection

  1. Select an image through the WordPress Media Library.
  2. The plugin checks the filename, exact file hash, and perceptual hash of indexed images.
  3. If potential matches are found, a warning shows previews and lets you cancel or proceed. Files with no matches upload without a confirmation.
  4. Files uploaded outside the standard Media Uploader retain the server-side filename duplicate check.

Use Enable Duplicate Protection to turn duplicate checks on or off. Use Enable Image Hash Checks to control exact and visual image matching. When image hash checks are disabled, filename duplicates use the standard WordPress upload notice and copy-URL action, while other files in the same bulk upload continue normally. Existing images are indexed gradually, so visual matching may be incomplete until indexing has progressed.

Replace Existing Media

Enable Enable Media Replace in the plugin settings to show the Replace media action in the Media Library. Users who can upload files and edit the selected media item can choose a replacement and select how it should be applied:

  • Replace the file only keeps the existing filename, URL, and folder. The replacement must have the same file type.
  • Replace the file, use the new file name, and update all links applies the uploaded filename and updates matching references in WordPress content and metadata. Links on external websites are not changed.

The attachment ID is retained in either mode. Under Upload Destination, choose whether to use today’s date or keep the existing media date. When using a new filename, this choice also determines the upload folder.

Installation

Modern Installation

  1. Go to WordPress Dashboard → Plugins → Add New Plugin.
  2. Search for Duplicate Media Guard.
  3. Klicken Sie auf Jetzt installieren.
  4. Aktivieren Sie das Plugin.

Manuelle Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Go to Plugins in your WordPress dashboard.
  3. Activate Duplicate Media Guard.

Änderungsprotokoll

Includes security check updates.

2.3.1 – 2026-11-30

  • Security check updates.

2.3.0 – 2026-11-17

  • Added duplicate media merging.
  • Improved the admin interface.
  • Added Pro add-on integration architecture.
  • Updated the documentation URL.

2.2.0 – 2026-11-12

  • Added safe duplicate merging with verified private backups and reference replacement.
  • Added persistent, resumable merge operations with a server-enforced five-duplicate limit.
  • Added merge integration API version 2 and lifecycle hooks.

2.1.1 – 2026-10-28

  • Minor changes and improvements.

2.1.0 – 2026-10-24

  • Added exact image hashing and perceptual similarity detection.
  • Added pre-upload match previews with cancel or upload-anyway options.
  • Added settings switches for duplicate protection and image hash checks.
  • Restored the standard duplicate-upload notice flow when image hash checks are disabled.
  • Added media replacement features.

1.0.1 – 2026-09-27

  • Fixed color and security issues.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Plugin settings page showing duplicate detection options.
Plugin settings page showing duplicate detection options.
Example showing a duplicate media upload being detected and skipped (when disable hash check).
Example showing a duplicate media upload being detected and skipped (when disable hash…
Example warning showing matching images with cancel and upload options (when enable hash check).
Example warning showing matching images with cancel and upload options (when enable hash…
Example showing replace media first step.
Example showing replace media first step.
Example showing replace media processing.
Example showing replace media processing.

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Duplicate Media Guard alternatives

All duplicate images plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Media Purge – Unused Media Cleaner & Duplicate Finder Media Purge – Unused Media Cleaner & Duplicate Finder Find unused media, see where each file is used, trash safely with restore, and spot exact… by Naqeeb Ul Rehman 100+ ★★★★★★★★★★ 5 (2) Vor 2 Wochen 79
2 Mediapapa – Your WordPress Media Library Manager & Copilot Mediapapa – Your WordPress Media Library Manager & Copilot WordPress media library manager: track usage, find duplicates, remove unused files, fix… by The Mediapapa Team 50+ ★★★★★★★★★★ 5 (1) Vor 1 Monat 70
4 MediaVoom – Image Optimizer & Media Cleaner MediaVoom – Image Optimizer & Media Cleaner Safely clean your Media Library, find duplicates and orphan files, and generate local… by Youssef Medlej 30+ ★★★★★★★★★★ Keine Bewertungen Vor 2 Monaten 63
5 AVAR Media Optimizer AVAR Media Optimizer Find unused images and duplicate files, clean your Media Library, compress images and… by AVAR Solutions 10+ ★★★★★★★★★★ Keine Bewertungen Vor 2 Monaten 51
6 MediaPilot AI – Media Library Folders, Cleanup & AI Metadata MediaPilot AI – Media Library Folders, Cleanup & AI Metadata Organize WordPress media with folders, safely clean unused and duplicate files, replace… by brainstudioz 10+ ★★★★★★★★★★ 5 (2) Vor 3 Monaten 69
7 Inventkid Media Cleanup Manager Inventkid Media Cleanup Manager Scan your WordPress media library, identify exact and potential duplicates, and safely… by dhruvalbhansali1608 <10 ★★★★★★★★★★ Keine Bewertungen Vor 4 Monaten 49
8 Mediawell Mediawell Find unused media, duplicate images, stray and missing files, and clean up safely with a… by anu771063 <10 ★★★★★★★★★★ Keine Bewertungen Vor 1 Monat 60
9 Clearyvo Media Cleanup – Safely Delete Unused Images & Duplicates, Free Disk Space Clearyvo Media Cleanup Find unused and duplicate images and delete them safely: everything goes to a quarantine… by Clearyvo <10 ★★★★★★★★★★ Keine Bewertungen Vor 5 Tagen 64
10 RZ Intelligent Media Management Tool RZ Intelligent Media Management Tool This plugin can safely and intelligently scan and optimize the media library, precisely… by rz.jhMark <10 ★★★★★★★★★★ Keine Bewertungen vor 7 Monaten 36
11 Media Mage Media Mage Find duplicate and unused media, check every reference before deleting, and send removals… by Lincoln Tracy <10 ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 54

Fragen und Antworten

Duplicate Media Guard: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Duplicate Media Guard free?

Yes. Duplicate Media Guard is free to download and use from the official WordPress.org plugin directory.

Is Duplicate Media Guard safe to use in 2026?

Duplicate Media Guard is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40+ sites, is rated 5/5 and was last updated 2 days ago, and scores 74/100 on our health check.

How many websites use Duplicate Media Guard?

Duplicate Media Guard is active on 40+ WordPress websites and has been downloaded 945 times since it launched in September 2026. It was downloaded 522 times in the last 30 days.

Does Duplicate Media Guard work with WordPress 7.1?

Yes. The developer has tested Duplicate Media Guard up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.

What PHP version does Duplicate Media Guard need?

Duplicate Media Guard requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Duplicate Media Guard last updated?

The latest version, 2.3.1, was released on November 30, 2026 (2 days ago).

Who makes Duplicate Media Guard?

Duplicate Media Guard is developed and maintained by Rashed Uzzaman.

What are the best alternatives to Duplicate Media Guard?

The most popular alternatives to Duplicate Media Guard are Media Purge (100+ installs), Mediapapa (50+ installs) and MediaVoom (30+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen