WP Media Overwrite

Plugin Banner

WP Media Overwrite

by Ironikus

Download
Description

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:

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 wp-media-overwrite.zip
  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

Great

By Zeshan Ahmed (zeshanshani) on December 28, 2020

This simple plugin helped me overwriting existing images without having to duplicate them. Thanks!

1.0.0: December 23, 2020

  • Birthday of WP Media Overwrite
Back to top