Rename and move files directly from the dashboard, either individually or in bulk. You can even set it to automatically rename your files for you! Nicer SEO, tidier WordPress, better life. For more information, please visit the official website: Media File Renamer.
HOW IT WORKS
By default, it automatically renames your media filenames based on their titles every time you modify them. But you can also manually rename files and update references to them throughout your site, including posts, pages, custom post types, and metadata. The best way to use the plugin is through the sleek and dynamic Renamer Dashboard, which makes it easy to work efficiently and effectively.
Please have a look at the tutorial.
Media File Renamer works seamlessly with many features of WordPress and other plugins, including Retina files, WebP, rescaled images (since WP 5.3), PDF Thumbnails, UTF8 files, optimized images, and more. It can handle a wide variety of encoding cases, making it a reliable tool for organizing your media library.
There are a few page builders, like Avia Layout Builder, that currently do not allow Media File Renamer to rename images used in their posts due to encryption. However, we are actively seeking out solutions to this issue and are committed to providing users with the ability to rename these images if they desire.
In the Pro Version, you’ll find many exciting features.
- Automatically rename files based on attached posts, products, or ALT texts
- Anonymize your files with anonymous filenames
- Move files to different directories in bulk
- Sync metadata like ALT texts and titles
- Number your files to allow for similar filenames
- Attach media entries to the posts or pages they’re used in
- Use the Force Rename feature to re-link broken media entries to your files
- Advanced transliteration handles accents, emoticons, umlauts, cyrillic, and more
Renaming or moving files can be a risky process, which is why it’s important to take precautions. Before renaming your files in bulk, try renaming them one by one to make sure the references in your pages are updated properly. It’s worth noting that some plugins may use unconventional methods to encode file usage, which could cause issues with the renaming process. To ensure the safety of your files and database, it is crucial to make a backup before using Media File Renamer to its full extent. Protect your valuable media by taking these precautionary measures.
If you notice any issues with your website after renaming your media files, try clearing your cache. Cached HTML can often hold onto old references, so this simple step can often resolve any issues. If you’re still experiencing problems, you can use the Undo feature to roll back to the previous filenames. If you’re having trouble updating references or have any other questions, please check out the support threads on our website. We’re always working to cover more use cases and improve the plugin. You will find more here: Questions & Issues.
The plugin can be tweaked in many ways, there are many actions and filters available. Through them, for example, you can customize the automatic renaming to your liking. There is even a little API that you can call. More about this here.
A SIMPLER PLUGIN
If you only need an simple field in order to modify the filename, you can also try Phoenix Media Rename. It’s simpler, and just does that. Yes, we are friends!
- Upload the plugin to your WordPress.
- Activate the plugin through the ‘Plugins’ menu.
- Try it with one file first! 🙂
Bijdragers & ontwikkelaars
“Media File Renamer: Rename Files (Manual or Auto)” is open source software. De volgende personen hebben bijgedragen aan deze plugin.Bijdragers
“Media File Renamer: Rename Files (Manual or Auto)” is vertaald in 12 talen. Dank voor de vertalers voor hun bijdragen.
Interesse in ontwikkeling?
- Update: Clean the dashboard a bit, depending on the options.
- Fix: Issue in the Media Library with the Renamer field.
- Fix: The Edit Title modal wasn’t working on ENTER.
- Fix: Titting enter in the Edit Title modal wasn’t update with the new title.
- Update: Better move features and cleaner UI.
- Note: The plugin has no known bugs for a while, and I am now happy to work on littke extra features 🙂 By the way, if you like it, please review the plugin by clicking here. Thank you!
- Update: Slowly (but surely) separating the Rename mode from the Move mode. I will make the UI better and more adapted to the chosen mode. You will find the switch in the Renamer Dashboard.
- Update: Enhanced the hooks (filters).
- Fix: Enhanced the behavior of the UI.
- Fix: The link to the Dashboard was broken.
- Fix: There was an issue with WP-CLI in the latest versions.
- Add: Consider WebP as an “Image” (which it is 😏).
- Fix: The ‘Featured Only’ and ‘Images Only’ were not working perfectly.
- Update: Optimized the way options are updated and retrieved.
- Update: Some refactoring to simplify the code.
- Add: Auto-retry on failure, up to 10 times.
- Fix: Typos.
- Add: Handle errors gracefully (with retry, skip or cancel).
- Fix: Tiny UI bug in Safari.
- Add: Support for Elementor (update the metadata and CSS).
- Update: Use the default WordPress font (to avoid loading data from Google Fonts) and a few UI enhancements.
- Fix: The WebP files weren’t not renamed perfectly.
- Fix: Support for WebP.
- Fix: Anonymize (MD5) on upload now works fine.
- Fix: Decode HTML entities (in the meta, title) when renaming is based on it.
- Update: I am trying to enhance the UI (the rename field and the actions) depending on the size of the browser. I’ll try to make this better and better, but don’t hesitate to give me some feedback.
- Update: Fresh build and support for WordPress 5.9.
- Fix: Renaming of WebP uploaded directly to WordPress.
- Add: The possibility of locking files automatically after a manual rename (which was always the case previously), and/or after a automatic rename (that was not possible previously). With this last option, users having trouble to “Rename All” will be given the choice to do it on any kind of server. You will find those options in the Advanced tab.
- Add: “Delay” option, to give a break and a reset to the server between asynchronous requests! Default to 100ms. That will avoid the server to time out, or to slow down on purpose.
- Fix: Avoid renaming when the URLs (before/after) are empty.
- Add: New option to update URLs in the excerpts (no need to use it for most users).
- Update: Avoid double call to the mfrh_url_renamed (seemed to be completely useless).
- Update: Added a new ‘size’ argument to the mfrh_url_renamed action.
- Update: Optimized queries.
- Add: We can change the page (in the dashboard) by typing it.
- Add: AVIF support.
- Fix: Avoid the double renaming when different registered sizes actually use the same file.
- Add: Better Force Rename.
- Add: Featured Images Only option.
- Fix: Auto-attach feature wasn’t working properly with Featured Image when attached to Product.
- Add: Manual Sanitize Option. If the option is checked, the rename feature uses the new_filename function. If not, use the filename user input as it is.
- Add: Option to clean the plugin data on uninstall.
- Add: Manual Rename now goes through the cleaning flow to make sure everything is clean and nice.
- Fix: Security update: access controls to the REST API and the options enforced.
- Updated: Dependencies update.
- Fix: Search feature was not always working well.
- Update: Better technical architecture.
- Add: Remember the number of entries per page (dashboard).
- Fix: Limit the length of the manual filename.
- Fix: The ‘Move’ feature now also works with the original image (in case it has been scaled by WP).
- Fix: Better Windows support.
- Add: Move button (this was mainly added for tests, so it’s a beta feature, it will be perfected over time).
- Add: Images Only option.
- Fix: Vulnerability report, a standard user access could potentially modify a media title with custom requests.
- Fix: The Synchronize Alt option wasn’t working logically.
- Add: Search.
- Add: Quick rename the title from the dashboard.
- Fix: The Synchronize Media Title option wasn’t working logically.
- Fix: References for moved files were not updated.
- Add: Sanitize filename after they have been through the mfrh_new_filename filter.
- Add: Greek support.
- Fix: Better sensitive file check.
- Fix: Manual rename with WP CLI.
- Add: Auto attach feature.
- Add: Added Locked in the filters.
- Update: Icons position.
- Fix: Issue with roles overriding and WP-CLI.
- Fix: Issue with REST in the Common Dashboard.
- Add: Support overriding roles.
- Fix: The layout of the dashboard was broken by WPBakery.