skip to Main 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…

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
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

Photo by Lauren Mancke on Unsplash

join the conversation
5 Comments //
View All →
Two Sister's Lakehouse - JenniferMeyering.com

Stay With Me!

AT OUR HOME ON THE LAKE

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.

Coming Soon!

Strawberry Rum Smash

Strawberry Rum Smash

Honey Beer Bread

Honey Butter Beer Bread

How to Make Simple Syrup
How to Make Simple Syrup

Subscribe

You’ve successfully signed up! Check your email for details.

Back To Top
×Close search
Search
Send this to a friend