How to replace images in WordPress with the same name – One of the conditions to help your article content get noticed by Google is that you must regularly update the article to match the current trend, but in some cases What to do with the content of the article you do not need to change the content but only need to change the image?
Normally, if you want to edit the article, you will go to the article editing interface to change the content, image … however, when you change the image, it requires you to rename, must not have the same name or else the old image will also be displayed?
Contents
Replace images in WordPress
You are afraid of affecting SEO images, you want to keep the old image name and replace it with a new image. So how to change the new image while keeping the old image name? Ok, don’t worry too much, everything can be solved in a much simpler way with the help of a wordpress plugin.
Install the Enable Media Replace Plugin
First, install the Enable Media Replace Plugin (if you don’t know how to install the Plugin for WordPress, you can refer to the article on how to install the Plugin for WordPress) . After the installation is complete, you proceed to activate the Plugin and configure it to use.
Go to Media > Library, find the image you want to replace. Right next to it will appear a Replace media button , click on it.

Now choose a new image file from your computer in the Choose File section.

There will be 2 options to replace the image:
- Just replace the file: you must upload a new image with the same name and format (PNG, JPG, GIF…) as the old image.
- Replace the file, use new file name and update all links: you can upload new images with any name and format, the system will automatically update and change the old information to new.
Click the Upload button to confirm.
After doing this, please clear the web browser Cache, web cache and CDN cache (if any) and then check the results. You can also disable and delete this plugin if you no longer need it.
Wait a minute: You want better security for WordPress, create two-factor security for WordPress it will help you to secure your Website effectively.
Conclusion
This is a very powerful utility, it helps you replace images in the most efficient way. You will get the latest images without changing the structure and content of the article.
-
What does Enable Media Replace do?
It will replace the old image with the new image and keep the old image name, or you can also change the old image to a new image.
-
How does it work?
A Replace media option is available in the Library view. Here you can upload a new file to replace the old one.
-
It doesn’t work?
– Make sure you clear the web browser Cache, web cache and – CDN cache (if applicable).
– If the file has not changed, make sure WordPress has write permission to the files in your uploads folder

