Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Kodlo Media Replace Wordpress Plugin - Rating, Reviews, Demo & Download

Kodlo Media Replace Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Need to swap a product photo, an updated PDF price list or a corrected logo without breaking a single link? Kodlo Media Replace overwrites the file of an existing attachment and keeps everything else exactly as it was:

  • the attachment ID,
  • the file name,
  • the URL, including every thumbnail URL.

Pages, products, galleries and page builders that use the file show the new version right away. There is nothing to search and replace.

How it works

Open a file in the Media Library, click Replace file, choose the new file and confirm. That’s it.

What happens behind the scenes

  • All image sizes are rebuilt with the same function WordPress runs for a new upload.
  • Old thumbnail URLs keep working. When the new image has different proportions, thumbnail file names would normally change. The plugin recreates the old ones from the new image at their old dimensions, so URLs hard-coded in posts or page builders never return a 404 error.
  • Large and rotated photos keep their URL (the “-scaled” and “-rotated” files WordPress creates).
  • WebP and AVIF copies made by optimization plugins (photo.jpg.webp, photo.webp) are regenerated, so rewrite rules don’t keep serving the old picture.
  • Browser and CDN caches: on the front end, every URL of a replaced file gets a version parameter (?kmr=…), so visitors download the new file immediately, even if the old one was cached for a year.
  • Page caches are cleared automatically when one of these is active: WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, WP Fastest Cache, SiteGround Optimizer, WP-Optimize, Breeze, Hummingbird, Cache Enabler, Nginx Helper, WP Engine, Kinsta, Pantheon.
  • Cloudflare (optional): the replaced file URLs can be purged from the Cloudflare edge. See the FAQ.

Simple by design

No settings page, no ads, no tracking. Works with images, PDF files, video, audio and documents.

The new file must have the same type as the old one (JPG for JPG, PDF for PDF), otherwise the URL would have to change.

External services

This plugin can connect to the Cloudflare API to remove replaced files from the Cloudflare cache. It is off by default and only works after you add a Cloudflare zone ID and API token to wp-config.php (see the FAQ).

When it is enabled, each time you replace a file the plugin sends a request to api.cloudflare.com with your zone ID, your API token and the URLs of the replaced file and its thumbnails (or a “purge everything” request if you enabled that option). No other data is sent.

This service is provided by Cloudflare, Inc.: Terms of Service, Privacy Policy.

Screenshots

No screenshots provided


Reviews & Comments