Replace & Rename Media Files

Description

Replace & Rename Media Files is a powerful plugin that enhances the WordPress media library by adding the following features:

File Replacement

  • Replace existing media files while preserving attachment IDs and relationships
  • Keep all metadata and post connections intact
  • Support for all media file types including images, documents, videos, and more

File Renaming

  • Rename media files directly from the media library
  • Update all references and links automatically
  • Handle special characters and proper sanitization

File Size Display

  • Add a new sortable column in the media library showing file sizes
  • Format file sizes in human-readable format (KB, MB, GB)
  • Include file size information in attachment details

Installation

  1. Upload the replace-rename-media folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Media > Replace & Rename to configure plugin settings

FAQ

Will replacing a file maintain its attachment ID?

Yes, when you replace a file, it keeps the same attachment ID and all relationships to posts and pages remain intact.

Will renaming update URLs in my content?

Yes, the plugin automatically updates URLs in post content when you rename files to ensure all links remain working.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Replace & Rename Media Files” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.1

  • Initial release