WordPress Plugin Rename Media Files Renames Media Files
It's surprising but true. You can't edit the file names of uploaded media from within WordPress. The only way to do so is to delete file by file and reupload them again after names were changed locally. Today, we'll change that.
When the Name Doesn't Fit: Rename Media Files
Let's not fool ourselves. This happens very quickly in our hectic daily routine. The image that you just downloaded from Pixabay is now being uploaded into your WordPress with its original name. Or you made a mistake with a screenshot you just took, and now it's not calledÂscreenshot.jpg
but screenshit.jpg
instead. This is almost a bit embarrassing.
Aside from the embarrassment, the image-related SEO is not to be neglected either. After all, you should include the chosen keyword in your file names to increase your chances of a better ranking. The right file name for your image is no accessory, but an essential part of the work on your website.
WordPress is not very flexible in this regard. It does not allow you to access your file names once the element has been uploaded. All there's left to do is to delete the file, alter it locally, and reupload the modified version. At first, this seems doable.
But what if you're responsible for the publishing in a multi-author blog, and you don't even have access to the original files? Sure, with a bit of effort, this can be changed, but wouldn't it be better if you could just modify the file name from within the Media Library?
A plugin that renames media files is indeed a great solution for the problems you’ve raised, but it’s important to note that the plugin does *not* rename the media files, but rather regenerates them with the new name. This is problematic in several levels, as this comment from the plugin page states:
“This plug-in does NOT what its name indicates: It does not rename a media file, it simply creates a copy under a new name. This is not what you expect, and it has some disadvantages.
First: You waste disk space.
Second: You create a mess, because there are files in your server directory that do not show up in the WordPress Media Library.
Third: If you decide to go back to the original filename this is not possible.”
This is a really useful plugin. I is very helpful when the file names are like 23876Wn6Ybk.jpeg Than this Plugin can save a lot of time and effort. Thanks for sharing this awesome plugin.
I have a travel website and with lots of pictures on it I usually struggle with renaming pics. I notice the strange name of the file after I upload it. So thanks for sharing.