This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Media Overwrite


WordPress does not overwrite files that have the same name. Instead, it appends a number or random value at the end of it to make it unique:
filename.png will be turned to filename-1.png

If you do not want that, this plugin is for you. Instead of adding it as a separate file, it will replace the file if it is within the same folder.
Here’s a list of all the available features:


  • Overwrite files that have the same name within the same folder
  • Compatible with Windows Azure integration and other plugins
  • Custom setting to automatically copy the data from the old file (Title, Caption, Alt text, description, metadata)

PLEASE NOTE: After a file is replaced, the old file is still visible within the media window. Once you refresh, it is gone.



  1. Go to Plugins in the Admin menu
  2. Click on the button Add new
  3. Search for WP Media Overwrite and click ‘Install Now’ or click on the upload link to upload
  4. Click on Activate plugin


Does the plugin, by default, copy the old file data?

No. You need to activate the setting within your WordPress dashboard -> Media -> WP Media Overwrite


December 28, 2020
This simple plugin helped me overwriting existing images without having to duplicate them. Thanks!
Read all 0 reviews

Contributors & Developers

“WP Media Overwrite” is open source software. The following people have contributed to this plugin.


Translate “WP Media Overwrite” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


1.0.0: December 23, 2020

  • Birthday of WP Media Overwrite