Phoenix Media Rename


Greatly improve your SEO: rename your media files with the « Phoenix Media Rename » plugin.


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


  1. Upload phoenix-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 avoid removing accents in file name?

Go to the Phoenix Media Rename settings page and unckeck « Remove accents » option, this will prevent accents sanitization.
Please note: avoid accents sanitization can cause broken URL on some hosting.

How to avoid processing revisions?

Go to the Phoenix Media Rename settings page and unckeck « Update Revisions » option, this will prevent revions update.
Please note: avoid revision processing will speed up the rename process, but will cause broken media file link in you revert a post to an older version.

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 Phoenix_Media_Rename class. Prototype: Phoenix_Media_Rename::do_rename($attachment_id, $new_filename, $retitle = 0). On success the function returns 1, and on error – the error message.

Do you need more features?

If you would like more features, such as automatic renaming, or a dashboard for renaming files, have a look at the freemium plugin Media File Renamer


14 Agost 2020
Thanks for the plugin; very useful to correct odd file names like 'my_image_final_1020_modified_final2_sharpened.jpg" to 'my_image.jpg'! 😉
24 julhet 2020
There is no "Filename" option in the Attachment Details screen. There is a "Filename" field on the list mode, but choosing "Rename" does nothing. Glad this was free...
24 julhet 2020
I was overly critical in my first review which I have now edited. Since I found out the developer has supported with the issue very well. He is an individual, a teacher in fact, and doing it not for profit and so users must bear that in mind. If you want a premium plugin with teams of support you might want to consider a paid option but this a great option for someone on a tight budget and with some patience if you do run into trouble. I did install this today on my multisite network and I have one other site in the network and it crashed my network admin and there was no way to access it due to a fatal error. I have sent my issue to the developer in the Support thread, and there is one other logged issue also. The developer of this plugin has now resolved this issue.
Read all 42 reviews

Contributors & Developers

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


“Phoenix Media Rename” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “Phoenix Media Rename” into your language.

Interested in development?

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



  • changed renaming error message to have more information about the source of the error


  • fixed error with old files stored in year- month- based subfolders (many thanks to @jockolad who addressed the issue)


  • fixed distribution error


  • fixed issue with media files organized in subfolders


  • fixed another issue with new big image management introduced in WordPress 5.3


  • fixed issue with new big image management introduced in WordPress 5.3
  • fixed issue with shortpixel image optimiser


  • fixed default value for accent sanitization option


  • added option to manage accent sanitization in file name


  • fixed issue with multisite (many thanks to @synetech for addressing the issue)


  • fixed localization support for link to settings page in plugin list


  • added link to settings page in plugin list


  • added settings page (thanks to @mrleif)


  • added support for elementor


  • changed post title management in bulk operations


  • fixed issue with WPML


  • removed unnecessary php warnings from log file (thanks to @alx359)


  • removed unnecessary php warnings from log file (thanks to @alx359)


  • fixed issue with WPML


  • fixed issue with WP Compress plugin


  • disabled submit button during bulk rename
  • added js minification


  • fixed error in Smart Slider custom table update


  • fixed error in Smart Slider custom table update


  • optimized sql for Smart Slider custom tables update


  • fixed error in Smart Slider custom table update


  • added support for Smart Slider


  • fixed ajax notification issue on php 7


  • added support for non-latin characters in file name


  • added sanitization to file names


  • added licence for phoenix icon


  • added support for localization


  • fixed author username


  • Initial version