Plathix Free is under review on WordPress.org. Downloads open as soon as it is approved.
Features / Replace Media
Free feature  ·  Replace Media

Replace the file. Keep the attachment.

A price list changes. A product image needs a correction. A client sends a new logo.

You could upload another copy. But then WordPress gets another media item, your team has another version to find, and the old file may still be linked somewhere.

Replace Media updates the file behind the WordPress media item you already use.

That matters when the image or document is connected to products, posts, galleries — or has already escaped WordPress entirely, into an email, QR code, partner link, or search result.

Try Plathix Free View the Replace Media test →
Included in Free Keeps the WordPress media ID Keeps its Plathix folder PRO adds WP-CLI + Activity history

When the link is already out there

Imagine a PDF price list.

You sent the link to customers. It is in an email template, on a partner site and behind a printed QR code. Now the prices change.

Uploading price-list-2026-final.pdf as a new Media Library item does not update any of those old links.

Replacing the original file can be the cleaner option.

If its file type and URL remain unchanged, those direct links can continue to lead to the new version.

That if matters. WordPress media references are not all stored the same way, and changing the file type changes the URL. We cover those cases below.

One file changed. Why create another copy?

This pattern will look familiar: summer-campaign.png, summer-campaign-2.png, summer-campaign-final.png, summer-campaign-final-v2.png.

Sometimes people upload another copy because it feels safer. Sometimes they simply cannot find the original.

Plathix folders and search help with the second problem. Once you find the right file, Replace Media lets you update it rather than add another version.

See Media folders → See Find fast →

Where this is useful

Documents that change regularly

Price lists, handbooks, brochures, product sheets, reports and other PDFs often change while their purpose does not.

If the same file needs a new version every month, quarter or year, replacing it can be simpler than building a trail of dated copies.

WooCommerce

A supplier sends a corrected product image.

If the product refers to that image by its WordPress media ID, the connection can stay in place after replacement.

The Media Library workflow works one file at a time; it is not a bulk product-image importer.

Agencies

A client sends a corrected logo on Friday afternoon.

Replacing the file avoids adding logo-new-final-2.png for everyone else to discover on Monday.

Publishers and marketing teams

Correct an illustration, campaign asset or download without creating another media item simply because the contents changed.

What happens when you replace a file

The WordPress media ID stays in place, along with its Plathix folder and media fields such as title, alt text, caption and description.

The physical file changes.

For images, WordPress may also regenerate image sizes and update dimensions and metadata. After a successful replacement, Plathix removes the old physical file and its generated thumbnails.

There is one filename detail worth knowing.

Plathix keeps the old base name, not the name of the file you upload. For example: logo-final.png replacing logo.png stays logo.png.

Where you can start a replacement

Replace Media is available from:

01Media Library grid
02Media Library list view
03Attachment edit screen

Choose the new file and replacement starts.

There is currently no preview comparison and no extra confirmation screen, so check the file before selecting it.

The ID may stay. The URL may not.

This distinction is the important one.

A WordPress media ID and a file URL are not the same thing.

Some parts of WordPress and plugins refer to the media item by ID. Others store the actual /uploads/.../file.jpg URL in their content.

That is why replacing a file can leave one placement untouched and require a check in another.

Same file type. In our live tests, when the replacement kept the same type, extension and upload location, the URL stayed unchanged.

Same URL

Different file type. Change PNG to JPG and the extension changes. The old .png address no longer points to the new file after cleanup.

Old URL → 404

Hard-coded URLs. Plathix does not crawl your site and rewrite file URLs stored inside page content, theme settings or third-party plugin data. So if something literally contains <img src="…/summer-campaign.png">, Plathix does not edit that HTML.

Not rewritten
A useful rule ID-based reference: usually the safer case.
Direct file URL: check it after replacement.

What about cache?

Replacing the file does not mean every browser, CDN or external service immediately forgets the previous copy.

Plathix adds a version parameter to WordPress-generated media URLs so browsers can request the updated file.

In our 11 Oct live test, the published Gutenberg page showed the new image to a returning visitor.

If your site uses a CDN, that cache may need to be cleared separately. Plathix cannot purge copies held by email clients, social networks, search engines or other external services.

Tested

The core Free workflow passed:

TestResult
Replace a Media Library filePassed
Keep WordPress media IDPassed
Keep Plathix folderPassed
Keep title, alt, caption and descriptionPassed
Keep attached-post relationshipPassed
Update an ID-based placementPassed
PNG → JPGPassed— extension changed; old file removed

The Lab article contains the test environment, results and known limits.

View Replace Media Lab →

Before you replace

There is no Undo

After a successful replacement, the old file is removed. Plathix does not currently keep version history or offer one-click rollback. If the original matters, keep your own backup.

It works one file at a time

The Media Library interface is for deliberate individual replacements, not hundreds of matched files at once. PRO adds WP-CLI for automated workflows, but there is no visual bulk-matching interface today.

There is no preview screen

Choosing the file starts the replacement. There is no side-by-side old/new comparison beforehand.

SVG follows the normal SVG rules

SVG replacements go through the same Plathix SVG checks as ordinary SVG uploads, including sanitization and access controls.

See SVG controls →

Replace Media FAQ

Is Replace Media included in Free?
Yes. The Media Library workflow is included in Plathix Free. PRO adds WP-CLI replacement and Activity history records for successful replacements.
Will my file URL stay the same?
Not always. Keeping the same file type gives you the safest case. Changing the type changes the extension. If the URL is important outside WordPress, check it afterwards.
Does Plathix rewrite URLs inside my pages?
No. It replaces the media file; it does not perform a site-wide search-and-replace through page content or third-party plugin data.
Can I undo it?
No. There is currently no Undo or version history.
Can I replace hundreds of product images at once?
Not through the Media Library interface. Replace Media currently handles individual attachments. PRO adds WP-CLI for automation.
Why do I still see the old image?
Usually cache. Browsers, CDNs and external services can all retain older copies for different amounts of time.

Related

LABReplace Media Lab →Evidence and known limits.
FREEMedia folders →Find the file before uploading another copy.
FREEFind fast →Search the Media Library you already have.
PROActivity history →PRO records successful replacements as File replaced.
TESTSCompatibility →Workflow tests for Gutenberg, Elementor, WooCommerce and other environments.

Update the file you already use

A corrected image does not always need a new media item. Neither does next month’s price list. Find the file, replace it, then check the places where its URL matters.

Try Plathix Free View Replace Media Lab →