Replace Files With Enable Media Replace, Without Breaking a Link or Serving a Stale File
Enable Media Replace swaps the file behind an attachment and keeps its ID, so every linking page keeps working. Infinite Uploads puts that file on cloud storage and a global CDN, and gives you one clear step so the old version doesn't linger at the edge.
150k+
Sites use our WordPress plugins
Free Plan
10 GB Included
Enable Media Replace and Infinite Uploads: Swap a File Without Breaking a Link
Enable Media Replace exists for one job: fix a typo in a PDF linked from 40 pages, swap a product photo, or update a price sheet without hunting down every place the old file was linked. Upload the new file over the old one and the attachment ID stays put, so links and shortcodes keep pointing at the same place.
Infinite Uploads picks up where that replacement lands. The new file offloads to cloud storage and the CDN, the old file and thumbnails are removed from storage, and Image Optimization re-optimizes it on the Business plan. Replace the file only and a CDN can serve the old version until it expires; rename it and the new URL loads fresh instead.
Enable Media Replace keeps doing everything else it does: different file types, background removal, Multisite, and thumbnail regeneration all work unchanged. Infinite Uploads adds cloud storage, a CDN, AVIF and WebP conversion, Media Folders, and unlimited sites on one account for every replacement you and your team make.
Four Problems Infinite Uploads Solves for an Enable Media Replace User
Most offload plugins move files and stop. Here's what matters when you're swapping files that are already linked all over the site.
Fix a Typo or Swap a Photo Without Breaking a Single Link
Replace the file only and the attachment ID and URL stay the same, so the price sheet linked from 40 pages or the product photo in a dozen posts keeps working. Infinite Uploads offloads the new file to cloud storage and the CDN the moment it lands.
Find the Right File Fast in a Library With Thousands of Assets
Media Folders, sort, and search help you locate the exact price sheet, product photo, or client asset before you click replace, instead of scrolling a flat grid of thousands of uploads looking for the right one.
Every Replacement Ships to the Cloud, Not Your Server
The new file and its regenerated thumbnails write straight to Infinite Uploads storage and serve from the CDN. Replacing files all day, the way an agency updating client assets does, never grows your hosting disk or your backup size.
A Tidier Library Even With Constant Small Fixes
Enable Media Replace deletes the old file and its old thumbnails, so nothing piles up from repeated swaps. Free up local storage after your first sync, and Download & Disconnect gives you local copies of your files if you ever need them.
Why Sites That Replace Files Often Pair It With Infinite Uploads
One Bill for Every File You Ever Replace
Cloud storage, CDN bandwidth, and AVIF and WebP optimization on one monthly price. Swapping product photos or price sheets all week never shows up as a surprise storage or bandwidth line item anywhere else.
Your Whole Library Moves, Not Just New Replacements
The first sync offloads your existing Media Library and rewrites URLs to the CDN, so files you replace going forward already live there too. Enable Media Replace works exactly the same, just faster.
One Account for Every Client Site You Touch
Agencies replacing assets across several client sites connect all of them to one Infinite Uploads account. Unlimited sites, one usage dashboard, and no per-site credentials to hand over when a client changes hands.
What Works, Feature by Feature
Feature
What you get
Replace the file only (same name)
Attachment ID and URL stay the same, so links never break. A CDN can keep serving the old file at that URL until its cache expires or you purge it.
CDN may cache the old file
Replace, rename, and update all links
The file gets a new URL and every link updates automatically. Nothing is cached at that URL yet, so the new file is served fresh from the CDN right away.
Works
Thumbnails regenerated after replace
New thumbnail sizes are generated automatically and write straight to cloud storage alongside the full-size replacement.
Works
Old file and old thumbnails deleted
Enable Media Replace removes them with no backup kept. Infinite Uploads removes the same files from cloud storage, so nothing orphaned stays billed.
Works
Replace with a different file type
Swap a PNG for a JPG or a DOCX for a PDF. The replacement offloads and serves like any other Media Library file.
Works
Image Optimization re-optimizes the replacement
The new original is optimized at delivery the same as any freshly uploaded image, on the Business plan.
Works, Business plan
WordPress Multisite networks
Every site in the network offloads replaced files to the same Infinite Uploads account, with one shared usage dashboard.
Works
Replacing a video file
The new MP4 offloads and serves from the CDN as-is, not transcoded. For adaptive streaming, upload it to the Infinite Uploads Video Library instead.
Works, CDN delivery
Replacement files near your upload limit
Pair with our free Big File Uploads plugin to lift the WordPress upload limit before you upload the replacement.
Add Big File Uploads
Up and Running in Three Steps
1. Connect Infinite Uploads
Install the plugin, connect your account, and sync. Your existing Media Library, including files you'll replace later, moves to the cloud.
2. Replace the File With Enable Media Replace
Open the attachment, upload the new file, and choose file-only or rename mode depending on whether the URL needs to change.
3. Free Up Local Storage
Once the sync completes, remove local copies from Infinite Uploads settings. Replacements keep serving from the CDN either way.
Good to Know Before You Switch
A same-name replacement can serve a stale file until the CDN cache clears. Infinite Uploads documents a site-wide Purge CDN Cache button for Business plan Image Optimization, limited to once an hour, but no per-file purge. Use rename mode when a change needs to show up immediately, or purge the whole cache, or wait it out.
Enable Media Replace does not keep a backup of the file it replaces. The old file and its thumbnails are deleted from cloud storage the moment the new one lands, with no built-in undo. Keep your own copy of anything you might want back before you replace it.
Replacing a file does not change who can reach its URL. Like the Media Library itself, a file on Infinite Uploads is reachable by anyone with its exact link, replaced or not. Enable Media Replace's job is keeping that link pointed at the right file, not restricting it.
How We Tested
- Uploaded a PDF and linked it from several test pages.
- Replaced the file only, keeping the same name and URL.
- Replaced a product photo using rename mode instead.
- Checked thumbnails, the old file, and the CDN URL for each.
Result: attachment IDs held, thumbnails regenerated, and old files were gone from cloud storage.
Frequently Asked Questions
Will replacing a file break links on other pages?
No. Enable Media Replace keeps the same attachment ID, and file-only mode keeps the same URL too, so a PDF linked from 40 pages keeps working. Rename mode updates every link automatically instead.
Will visitors see the old file right after I replace it?
They might, briefly, if you used file-only mode and the URL was cached at the CDN edge. Rename the file instead, purge the whole CDN cache on the Business plan, or wait for the cache to expire.
Does Enable Media Replace keep the old file as a backup?
No. It deletes the old file and its thumbnails once the new one is in place, and Infinite Uploads removes the same files from cloud storage. Keep your own copy first if you might need it.
Can I replace a file with a different file type?
Yes. Swap a PNG for a JPG or a DOCX for a PDF and the replacement offloads to cloud storage and the CDN like any other upload.
Do thumbnails regenerate automatically after a replacement?
Yes. Enable Media Replace generates new thumbnail sizes for the replacement file, and each size writes to Infinite Uploads cloud storage alongside the full-size original.
Does Image Optimization re-optimize the replacement file?
Yes, on the Business plan. The new original is optimized at delivery the same way a freshly uploaded image would be, without any extra step to trigger it.
Does this work on a Multisite network?
Yes. Infinite Uploads supports WordPress Multisite on every plan, so replaced files on any site in the network offload to the same account, with one shared usage dashboard and invoice.
What happens if I replace a video file?
It offloads and serves from the CDN as-is, like the file it replaced, without transcoding. For adaptive streaming, upload it to the Infinite Uploads Video Library and embed it with the Infinite Uploads block.
More Plugins That Work With Infinite Uploads
- Infinite Uploads and FileBird
- Infinite Uploads and Regenerate Thumbnails
- Infinite Uploads and WooCommerce
- See all integrations
Try Infinite Uploads on the Free Plan
No cloud accounts. No access keys. Install the plugin, connect your site, and every file Enable Media Replace swaps in starts moving to the cloud automatically.
Free plan, no credit card. Paid plans from $8.25/mo. Unlimited sites.