This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Media Rename


Easily rename (and retitle) your media files with the “Media Rename” plugin. Never lose your media information again!
Media Rename will not only rename your media, but also will check all the posts, metas and options on your site and change the links to the current media file, so they continue to be working!

NOTE: From version 3.1 the plugin will not only loop through your posts’ content, but also all your metas and options in order to replace the old links with the new ones. If something goes wrong, it could mess up your database!
Please make sure to backup your database and files before using this plugin. I am not responsible for any damage caused by its usage!


  • screenshot-1.jpg
  • screenshot-2.jpg


  1. Upload media-rename folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. It is done! You can go to any media file single page and will notice the new field “Filename”. Bulk edit is also available at the “Media” listing page!


How to rename a single media?

Go to the Media section of the admin panel and open a media of your choice. You will see a new field named “Filename” and your current filename in it. Change it to whatever you want the new name to be and hit the “Update” button.

How to bulk rename medias?

Go to the Media section of the admin panel, select the “Rename” or “Rename & Retitle” bulk action (depending on if you want the media get retitled too) from the dropdown, check the medias you would like to rename and change their filenames using the “Filename” fields at the last column. When you are done, hit the “Apply” button and let the plugin do its magic!

Can I use the plugin to rename medias via code?

Sure, you can use the “do_rename” static function, located at the Media_Rename class. Prototype: Media_Rename::do_rename($attachment_id, $new_filename, $retitle = 0). On success the function returns 1, and on error – the error message.


No longer working

This plugin was nice and simple when it was working. But, it is still not working with WordPress 4.4 thru 4.5.

After two years with no updates. It’s safe to say this plugin is dead.

Does not work in WordPress 4.4 anymore

I used this plug-in in earlier WP versions, but in my most recent project with WP 4.4 it did not rename the files anymore. Before it was my preferred media renaming plug-in, although there were some usability issues.

Works Just Fine!

I’m on the latest version of WordPress at the time of writing (V 4.3.1) and this plugin still works perfectly.

Be sure to check the screenshot of the instructions.

Read all 32 reviews

Contributors & Developers

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


Translate “Media Rename” into your language.

Interested in development?

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



  • Bugfix


  • Speed optimization


  • Bugfix


  • Memory optimization tweaks
  • Old size files are now deleted


  • Bugfix


  • Bugfix


  • Rename & Retitle bulk action added
  • Replaces the old links in metas & options too
  • Renaming process totally revised
  • Bugfixes


  • Bulk Rename feature added
  • OOP code


  • Added compatibility with WordPress 3.5


  • Bugfix


  • Fixed multiple dots in filename bug


  • Multisite compatible
  • Code cleaning


  • Errors view added
  • Media link correction added
  • Bugfixes


  • Filename sanitization bug fixed


  • Initial version