Skip to content
Blogging

How to Replace Media Files in WordPress

As a blogger, I know how critical it is to have complete control over the images I upload to my website. Of course, there have been times where I want to update some old photos for a blog post and I…

How to Replace Media Files in WordPress - JenniferMeyering.com

As a blogger, I know how critical it is to have complete control over the images I upload to my website. Of course, there have been times where I want to update some old photos for a blog post and I have to go into the old post, upload new photos, delete the old photos, and replace all the old files with the new links, etc. This is tedious work and takes a lot of time.

Isn’t there a simpler way?

Easily Replace Media Files In Wordpress

Why, Yes! I am so glad you asked!

Enter the Enable Media Replace plugin. This plugin lets you upload new files for all the images in your media library without having to go through the post editor, remove old photos, add new ones, re-name, etc. This plugin does all that with just 3 clicks!

So let’s dive right into how to do all that!

Install and Activate the Enable Media Replace Plugin [FREE]

Go to the plugins page of your WordPress dashboard and search Enable Media Replace. Then install and activate per usual.

This plugin works out-of-the-box, meaning there are no settings to configure for it to work properly.

Choose File to Replace

Once activated go to your media library and make sure you are in the ‘list view’. Locate the image you would like to replace and when you hover your mouse over the image you’ll see a new setting that says ‘Replace media’ like in the picture below.

Untitled Picture

When you click the new ‘Replace media’ link, it will take you to the replace media page.

Choose File to Replace with

When on that page, you will choose the file you would like to use to replace the old file.

There are also 2 options: Replace the file without replacing the file name, or replace the file and update the filename and all links pointing to the old file.

Untitled Picture

Personally, I just replace the old file without updating the name and links because I have a separate plugin [find that post here] that I use to change all the filenames and update links.

Upload and Done!

After you click the ‘Upload’ after choosing your file, WordPress will upload your new file and the plugin will replace the old media file with the new one. If you opted to use the new filename and update links, then the plugin will take care of that too.

You can now visit the post or page where the media was located and you will see the new image in place of the old one.

Note: if you use browser caching or use CloudFlare CDN, you need to temporarily disable your CloudFlare CDN before upload the new file for the changes to take effect and then clear your browser cache. You can then reload the page and you will see your changes. Re-enable your CDN and you’re all set!

I hope this post helped you with updating all your old files. If it did, please share using any of the share buttons below and be sure to check out my other tips and tricks in the box below or by clicking the resources tab at the top of the page!

Blogging Tools & How-To Series
Must Have Blog Tools Must Have Blog Tools | Jennifermeyering.com
Must Have (Free) Blog Tools Must Have (Free) Blog Tools | Jennifermeyering.com
How to Add Images to Your RSS Feeds How To Add Images To Your Rss Feeds | Jennifermeyering.com
How to Hide Your Pinterest Image How To Add A Hidden Pinnable Image For Pinterest - Jennifermeyering.com
Quick Way to Set Up Rich Pins on Pinterest Quick Way To Set Up Rich Pins On Pinterest - Jennifermeyering.com
How to Replace Media Files in WordPress How To Replace Media Files In Wordpress - Jennifermeyering.com
How to Rename Media Files In WordPress Rename Media Files In Wordpress -- Jennifermeyering.com
Two Sister's Lakehouse - JenniferMeyering.com

Stay With Us!

AT TWO SISTERS LAKEHOUSE

Two Sister’s Lakehouse is peacefully located on the shores of Crystal Lake, Michigan. Nestled in a quaint little town, just a short drive to Traverse City, the Two Sister’s Lakehouse provides the prefect space to getaway, rest, and recharge.

Circle Logo
Search