Media File Renamer (Auto Rename)

Description

Media File Renamer Auto is a WordPress plugin that physically renames media files nicely for a cleaner system and for a better SEO. Please read this description.

IMPORTANT

This is an automatic renamer based on the Media title. This plugin features were all meant to be automatic depending on the title of the Media. Manual Rename (and a few more features) were added two years later, in a Pro version. I add complex features based on requests usually in the Pro to be able to maintain the quality of the plugin and its support.

HOW IT WORKS

The plugin automatically renames your media filenames depending on their titles. When files are renamed, the references to it are also updated (posts, pages, custom types and their metadata). A new column in the Media Library will display to you the new ideal filename and a button will allow you to rename it straight away. You can lock and unlock the renaming automatic process through little icons. There is also a little dashboard called File Renamer in Media that will help you rename all your files at once. Advanced users can change the way the files are renamed by using the plugin’s filters (check the FAQ). There is also a LOCK option on every image to avoid the filename to be modified any further.

PRO VERSION

The Pro Version gives a few more features like manual renaming, renaming depending on the post the media is attached to or the content of the alternative text (ALT), logging of SQL queries and a few more options. A good process is to actually let the plugin do the renaming automatically (like in the free version) and to do manual renaming for the files that require fine tuning.

BE CAREFUL

File renaming is a dangerous process. Before renaming everything automatically, try to rename a few files first and check carefully that all the references to those files have been properly updated on your website. WordPress has so many themes and plugins that this renaming process can’t unfortunately cover all the cases, especially if other plugins are using unconventional ways. If references aren’t updated properly, please write a nice post (not an angry one) in the support threads 🙂 I will try my best to cover more and more special cases. In any case, always make a backup of your database and files before using a plugin that alter your install. Also, if your website seems broken after a few renames, try to clear your cache. The cached HTML will indeed not be linked to the new filenames.

FOR DEVELOPER

The plugin can be tweaked and reference updates enhanced for your themes/plugins. Have a look here.

JUST TO MAKE SURE

This plugin will not allow you to change the filename manually in its standard version. The Pro Version is required. If you are about to write an angry review because this feature is not available, at least, please mention that you read the whole description.

This plugin works perfectly with WP Retina 2x, Polylang, WPML and many more. Is has been tested in Windows, Linux and OSX systems.

Languages: English, French.

Screenshots

Type in the name of your media, that is all.

Special screen for bulk actions.

This needs to be renamed.

The little lock and unlock icons.

Options for the automatic renaming (there are more options than just this).

This is a must tool for someone interested in making their images SEO friendly and have a lot of images who need to be renamed fast and easy. Just make sure you read the authors notes and instructions and you will love this tool. Currently been using the free version and considering buying the pro version since is just a time saver for someone who doesn't want to manually spend hours just renaming files. If your the type of person who bothers to read the notes before pressing buttons randomly, this is the tool for you.

3.5.6

Add: Option for Pro, Media Title is synchronized with Title of Attached Post.

3.5.4

Add: mfrh_replace_rules filter allows you to personalize the renaming at the character level.

3.5.2

Fix: Update system fixed and code cleaning.

3.4.5

Fix: Better handling of umlauts.

Info: There will be an important warning showing up during this update. It is an important announcement.

3.2.7

Fix: Slug was not getting renamed after recent WP update.

Fix: Tiny fixed to avoid notices.

Add: Support for WPML Media (thanks to David García froml WPML Team).

3.2.4

Fix: Should work with more plugins/themes, WooCommerce for example. The updates aren’t done only on the full URLs of the images in the DB now but also on the relative uploads path as well.

Info: If you have some time, please review me nicely at https://wordpress.org/support/view/plugin-reviews/media-file-renamer?rate=5#postform. Thanks to you, I get a lot of motivation to make this plugin better 🙂

3.2.3

Add: Option to rename depending on the ALT. Useful if you get interesting information in your ALT.

3.2.2

Add: Rename the file during upload, based on the media title. Not by default, check the options 🙂

3.2.0

Fix: Logging could not be enabled.

Update: Code cleaning.

3.1.0

Update: The UI was a bit modified and enhanced. I also think it is simpler and cleaner.

Update: Removed the auto-flagging process which was causing issues on sizeable installs.

3.0.0

Fix: The references in the excerpts are now also updated (they are used by WooCommerce).

Add: Undo button. When the media is unlocked and has been renamed, you have a Undo button. You need to active this in the option.

Update: Everything has been moved into the Meow Apps menu for a cleaner admin.

2.7.8

Fix: Removed Flattr.

Add: Additional cleaning to avoid extensions sometimes written in the title by WP.

Add: Clean out the english apostrophe ‘s during the creation of the new filename.

2.7.6

Add: New option to remove the ad, the Flattr button and the information message about the Pro.

Fix: Renaming slug was not working well after latest WordPress updates

Fix: Use direct links for all my images and links to follow WordPress rules.

2.7.1

Info: A file mfrh_custom.php has been added. If you are an advanced users or a developer, please have a look at the FAQ here: https://wordpress.org/plugins/media-file-renamer/faq/. Since I am only one developer, I can’t cover all the renaming cases we have (since sometimes plugins keep their own links to the filenames; such as WooCommerce). That will make it easy to advanced users to push Media File Renamer to cover more and more special cases.

2.6.9

Change: Modified description and information about the mfrh_url_renamed and mfrh_media_renamed filters.

Add: New option to force renaming file (even though the file failed to be renamed). That will help PRO users to fix their broken install, often after a migration for example (often related to change of hosting service using different encoding).

Fix: Click on lock/unlock doesn’t take you back to the first page anymore.

Fix: Little naming issue when numbering + custom filter is used.

2.6.0

Add: Lock/Unlock icons in the Media Library.

Add: Rename depending on the title of the post the media is attached to.

2.5.0

Update: WordPress 4.4.

Add: Add -2, -3, etc… when filenames are similar. Pro only.

Fix: There was a glitch when .jpeg extension were used. Now keep them as .jpeg.

2.4.0

Fix: There was a possibility that the image sizes filenames could be overwritten wrongly.

Update: Rename the GUID (File Name) is now the default. Too many people think it is a bug while it is not.

Add: UTF-8 support for renaming files. Before playing with this, give it a try. Windows-based hosting service will probably not work well with this.

Fix: Auto-Rename was renaming files even though it was disabled.

Update: If Auto-Rename is disabled, the Media Library column is not shown anymore, neither is the dashboard (they are useless in that case).

Add: Metadata containing ‘%20’ instead of spaces are now considered too during the renaming.

2.3.0

Add: Update the metadata (true by default).

Fix: Guid was renamed wrongly in one rare case.

Fix: Double extension issue with manual renaming.

2.2.4

Fix: Couldn’t rename automatically the files without changing the titles, now the feature is back.

Fix: Better ‘explanations’ before renaming.

Fix: Should work with WPML Media now.

Fix: Manage empty filenames by naming them ‘empty’.

2.2.2

Add: Option to automatically sync the alternative text with the title.