Plugin info

Total downloads: 40,840
Active installs: 1,000
Total reviews: 8
Average rating: 3.4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 8/4/2025 (149 days ago)
Added to WordPress: 3/19/2011 (14 years old)
Minimum WordPress version: 2.9
Tested up to WordPress version: 6.8.3
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Maintained • Last updated 149 days ago • 8 reviews

52/100

Is Overwrite Uploads abandoned?

Likely maintained (last update 149 days ago).

Compatibility

Requires WordPress: 2.9
Tested up to: 6.8.3
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Replace Image
Rating 4.6/5 (65 reviews)Active installs 9,000
Overwrite Author Name
Rating 5.0/5 (2 reviews)Active installs 200
Custom Post Type Lockdown WordPress
Rating 5.0/5 (2 reviews)Active installs 10

Description

By default WordPress doesn’t overwrite an existing file if you upload a new one with the same name and directory. Instead, it appends a number to the end of the filename in order to make it unique, e.g., filename.jpg becomes filename1.jpg.

That isn’t always the desired behavior, so this plugin makes it so that any files uploaded will automatically overwrite existing files in the same folder, rather than creating a second file with a unique name. It will not overwrite files in other folders.

After activating the plugin, you won’t need to do anything else, it’ll start working automatically. If you run into problems, please check the FAQ and existing support forum posts before opening a new support request.

Installation

For help installing this (or any other) WordPress plugin, please read the Managing Plugins article on the Codex.

Once the plugin is installed and activated, it will start to work automatically.

Frequently Asked Questions

Why do I see multiple copies of the file in the Media Library

WordPress allows files to have the same name if they’re not in the same directory. So, wp-content/uploads/2013/11/pizza.jpg can live alongside wp-content/uploads/2013/12/pizza.jpg. This plugin only deletes existing files if they are in the same folder that the new file will be placed in.

Also, only Editor and Administrator accounts can overwrite the uploads of other users. You can customize this behavior using the ovup_can_overwrite_upload filter.

Can I make a donation to support the plugin?

I do this as a way to give back to the WordPress community, so I don’t want to take any donations, but if you’d like to give something I’d encourage you to make a microloan with Kiva.

Do you support this plugin?

I’m happy to fix reproducible bugs, but I don’t have time to help you customize the plugin to fit your specific needs.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.2.2 (2017-04-01)

  • [SECURITY] Fix a bug where Author accounts could overwrite media created by editors and administrators. If desired, the previous behavior can be restored using the ovup_can_overwrite_upload filter. Props phycox69.

1.2 (2017-04-01)

  • [NEW] Added support for sideloaded images (typically done by plugins), in addition to regular manual uploads. Props wayneallen-1
  • [FIX] Filenames with spaces and other non-standard characters are now overwritten. Props ascottmccauley

1.1 (2013-12-14)

  • [NEW] Delete existing attachments before a new one is uploaded. This avoids the need to modify WordPress core files.
  • [UPDATE] General code cleanup and modernization
  • [UPDATE] Removed unnecessary debugging method, activation logic and admin notices support
  • [UPDATE] Moved requirements check into bootstrap script
  • [UPDATE] Moved overwrite-uploads.php into classes directory
  • [UPDATE] Fixed improperly capitalized overwriteUploads class name

1.0.2

  • Fixed bug where old Media Library entries weren’t removed if the ‘Organize my uploads into year and month folders’ setting was enabled.
  • Setting removed because it’s unnecessary. Plugin will overwrite uploads if activated, and won’t if it isn’t.

1.0.1

  • Added network-wide activation for WPMS blogs

1.0

  • Initial release