Replace a WordPress Media: the free AIFORYA plugin
Replace a WordPress media file while keeping its URL, with thumbnail regeneration. Free plugin, 100% local, no API key.

Replace a media file without ever breaking a link.
AIFORYA Replace a Media updates the file of a media already in your library — an image, a PDF, a document — without re-importing it or fixing every place it is used one by one. Everything happens locally, 100%, with no API key, and for free, with no time limit.
- Free and complete: published on WordPress.org, no crippled features on replacement.
- 100% local: the file never leaves your server, no data is transmitted to a third party.
- Zero broken links: in "keep the address" mode, the URL stays identical everywhere.
Why not just re-import the file?
When a logo changes, a product photo is updated or a PDF is corrected, the reflex is to import a new file. The problem: WordPress assigns it a new address, and the old version stays displayed everywhere it was already used — posts, pages, templates, emails. You then have to hunt down every occurrence, which is time-consuming and error-prone.
Replacing the file "in place" solves the problem in one go: the address does not change, so everything that pointed to the old file automatically displays the new one. AIFORYA Replace a Media adds this missing capability to WordPress, with thumbnail regeneration and security safeguards.
What the plugin does
- One-click replacement — a "Replace the file" box appears on the detail screen of each media.
- Keep the address — in "keep the address" mode, the file is replaced in the same location and all existing links keep working.
- New file — or choose a new address; the old file and its thumbnails are then cleanly deleted.
- Automatic regeneration — thumbnails and metadata are recomputed after each replacement.
- Security — reserved for users allowed to upload files and edit the media, each replacement being protected by a security token.
How it does better than competing free plugins
| AIFORYA Replace a Media | Common free plugins | |
|---|---|---|
| URL preservation | Included, with extension check | Included, but often without safeguards |
| Thumbnail regeneration | Automatic after each replacement | Sometimes manual or absent |
| Security | Capabilities + token on each replacement | Variable controls |
| Privacy | 100% local, no network call | Variable |
| API key / account | None | Sometimes required |
Privacy and technical honesty
Replacing files and regenerating thumbnails happen entirely on your server, with no network call. Only an optional Support/Review tab can, on your initiative and after explicit consent, transmit a message to the AIFORYA service. No data is sent without a voluntary action on your part.
Install in 2 minutes
- Download the plugin here (or install it from WordPress.org).
- Activate it from the Plugins menu.
- Open a media from the library in detail view, use the Replace the file box, choose the file and mode, then confirm.
You can set the default mode from the AIFORYA Replace a Media menu to go even faster next time.
Questions fréquentes
Historique des mises à jour
- v1.0.0
Initial release: replace a media file while keeping the address or with a new address, automatic regeneration of thumbnails and metadata, security controls by capability and token.
Une question ? Contactez-nous.