Devenia Replace Media lets you replace any media file in WordPress while keeping the original URL intact. Useful for updating images without changing links.
Key Features
- Keep Your URLs – Replace the file while keeping the URL, helping avoid broken links.
- Works Everywhere – Media Library list view, Elementor gallery editor, and standard WordPress media modals.
- Preserves Metadata – Captions, alt text, titles, and descriptions stay intact.
- Automatic Cache Busting – Appends a version parameter after replacement, which can help browsers and CDNs fetch the updated file.
- Regenerates Thumbnails – All image sizes are automatically regenerated after replacement.
- MCP/Abilities Support – Agents and automation can replace an existing attachment directly instead of uploading duplicates.
- Simple Interface – Just click “Replace File”, upload your new file, done.
Where It Works
- Media Library – “Replace File” link appears in the list view actions
- Elementor Gallery Editor – Blue “Replace File” button in attachment details
- WordPress Media Modal – Works in the standard media selector used by Gutenberg and Classic Editor
Use Cases
- Update product images without changing URLs
- Fix typos in PDFs or documents
- Replace outdated screenshots
- Update seasonal images across your site
- Swap placeholder images for final versions
Why Cache Busting Matters
When you replace an image, browsers may show an older cached version. This plugin appends a version parameter to image URLs after replacement to help caches fetch the updated file.