Title: Webfydev Duplicate Media Guard
Author: Rashed Uzzaman
Published: <strong>September 13, 2026</strong>
Last modified: September 13, 2026

---

Search plugins

![](https://ps.w.org/webfydev-duplicate-media-guard/assets/banner-772x250.png?rev
=3693906)

![](https://ps.w.org/webfydev-duplicate-media-guard/assets/icon-256x256.png?rev=
3693906)

# Webfydev Duplicate Media Guard

 By [Rashed Uzzaman](https://profiles.wordpress.org/jsrasheduzzaman/)

[Download](https://downloads.wordpress.org/plugin/webfydev-duplicate-media-guard.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/webfydev-duplicate-media-guard/#description)
 * [Reviews](https://wordpress.org/plugins/webfydev-duplicate-media-guard/#reviews)
 *  [Installation](https://wordpress.org/plugins/webfydev-duplicate-media-guard/#installation)
 * [Development](https://wordpress.org/plugins/webfydev-duplicate-media-guard/#developers)

 [Support](https://wordpress.org/support/plugin/webfydev-duplicate-media-guard/)

## Description

**Webfydev Duplicate Media Guard** helps keep your WordPress Media Library clean
by preventing duplicate file uploads.

The plugin checks whether a file already exists before it is uploaded. You can choose
to compare files using their complete filename (including extension) or compare 
only the filename while ignoring the extension.

For example:

 * `logo.png` and `logo.png`  Duplicate
 * `logo.png` and `logo.jpg`  Duplicate (when extension check is disabled)
 * `banner.webp` and `banner.webp`  Duplicate

This helps eliminate unnecessary duplicate files, reduces media library clutter,
and saves server storage.

### Features

 * Prevent duplicate media uploads automatically.
 * Compare filenames with extension.
 * Compare filenames without extension.
 * Simple settings page.
 * Lightweight and easy to use.
 * Works with the default WordPress Media Uploader.
 * No impact on existing media files.
 * No configuration required after activation (default settings available).

### How It Works

 1. Upload a file through the WordPress Media Library.
 2. The plugin checks if a matching filename already exists.
 3. If a duplicate is found, the upload is skipped.
 4. A notice is displayed informing you that the file already exists.

## Screenshots

[⌊Plugin settings page showing duplicate detection options.⌉⌊Plugin settings page
showing duplicate detection options.⌉[

Plugin settings page showing duplicate detection options.

[⌊Example showing a duplicate media upload being detected and skipped.⌉⌊Example 
showing a duplicate media upload being detected and skipped.⌉[

Example showing a duplicate media upload being detected and skipped.

## Installation

### Modern Installation

 1. Go to **WordPress Dashboard  Plugins  Add New Plugin**.
 2. Search for **Webfydev Duplicate Media Guard**.
 3. Click **Install Now**.
 4. Activate the plugin.

### Manual Installation

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

## FAQ

### What is considered a duplicate?

A duplicate is a file whose name matches an existing media file according to your
selected comparison method.

### What happens if a duplicate is detected?

The upload is skipped, preventing another copy from being added to the Media Library.

### Can I compare filenames without extensions?

Yes. If enabled, files like `photo.jpg`, `photo.png`, and `photo.webp` are considered
duplicates because they share the same filename.

### Does this affect existing media files?

No. The plugin only checks files during upload. Existing media files remain unchanged.

### Does this work with all media types?

Yes. The plugin works with all media types supported by WordPress.

### Is the plugin lightweight?

Yes. It performs a simple duplicate check during upload and does not add unnecessary
overhead.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Webfydev Duplicate Media Guard” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Rashed Uzzaman ](https://profiles.wordpress.org/jsrasheduzzaman/)
 *   [ Webfydev ](https://profiles.wordpress.org/webfydev/)

[Translate “Webfydev Duplicate Media Guard” into your language.](https://translate.wordpress.org/projects/wp-plugins/webfydev-duplicate-media-guard)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/webfydev-duplicate-media-guard/),
check out the [SVN repository](https://plugins.svn.wordpress.org/webfydev-duplicate-media-guard/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/webfydev-duplicate-media-guard/)
by [RSS](https://plugins.trac.wordpress.org/log/webfydev-duplicate-media-guard/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.
 * Prevent duplicate media uploads.
 * Option to compare filenames with file extensions.
 * Option to compare filenames without file extensions.
 * Added admin settings page.
 * Added duplicate upload detection notice.
 * Lightweight and optimized for WordPress Media Library.

## Meta

 *  Version **1.0.0**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 7.2 or higher **
 * Tags
 * [duplicate media](https://wordpress.org/plugins/tags/duplicate-media/)[file upload](https://wordpress.org/plugins/tags/file-upload/)
   [media library](https://wordpress.org/plugins/tags/media-library/)[media upload](https://wordpress.org/plugins/tags/media-upload/)
 *  [Advanced View](https://wordpress.org/plugins/webfydev-duplicate-media-guard/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/webfydev-duplicate-media-guard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/webfydev-duplicate-media-guard/reviews/)

## Contributors

 *   [ Rashed Uzzaman ](https://profiles.wordpress.org/jsrasheduzzaman/)
 *   [ Webfydev ](https://profiles.wordpress.org/webfydev/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/webfydev-duplicate-media-guard/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://webfydev.com)