🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Smart Media Replacement icon
Maintenu Testé jusqu'à 7.0.9

Smart Media Replacement

Replace media files in place with revision history. Audit your library to find unused files and missing alt text.

Installations actives30+10+ niveaux
Téléchargements · 30D191▲ +101.1% vs prev. 30d
Évaluation—0 avis
Score de santé52/100Juste
Téléchargements de tous les temps1KDepuis novembre 2025
Support résolu—Aucun fil de discussion récent
A besoin deWP 7.0PHP 8.0+
Téléchargements · 7j62▲ +51.2% week over week
Notre verdict

Utiliser avec prudence

Smart Media Replacement works, but test it on a staging site before relying on it in 2026. It runs on 30+ sites and was last updated 4 months ago, and scores 52/100 on our health check.

  • Petite base d'utilisateurs (30+ installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4812Sep 4Oct 18Dec 2
Hier14
Moyenne quotidienne (1 ans)3
Jour de pointe5415 Mai 2026
12 Derniers mois972

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Smart Media Replacement stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
médias >100 10,000 Meilleurs plugins multimédias →
media library >100 7,001 Best media library plugins →
remplacer >100 10,000 Meilleur remplacement des plugins →
révisions >100 2,080 Meilleurs plugins de révisions →
unused media #93 1,392 Best unused media plugins →

Adoption de version

Part de sites actifs par version.

  • 1.3100.0%

About Smart Media Replacement

From the official readme · v1.3.0

Description

Ever updated a PDF and realized half your site links to the old version? Or replaced a hero image and watched your carefully-tuned page layout collapse? Smart Media Replacement solves both problems — and adds a safety net you’ll wish you had earlier.

Replace the file, keep the URL. When you swap an attachment with this plugin, the file’s URL never changes. Every existing link, every email that points to it, every page that embeds it, every SEO ranking — all of it keeps working. No 404s, no broken references, no scrambling to update old content.

Full revision history, one-click restore. Every replacement automatically snapshots the previous version. Made a mistake? Roll back instantly. Want to see what the file looked like three months ago? Download it. Each revision is timestamped, attributed to the user who made it, and can carry an optional note describing what changed.

Works where you work. Replace from the Media Library, or from inside any block’s Replace toolbar in the block editor — image, cover, video, audio, file, gallery, and more. The editor refreshes in place, no page reload, no lost work.

Safe by default. The plugin validates filenames, file types, and image dimensions to keep your URLs intact and your layouts unbroken. WordPress’s auto-scaled images are handled transparently. Revisions land in a database table that’s self-healing on every admin load, and the plugin’s settings page gives you control over how many revisions to keep, how long to retain them, and which file types are tracked.

Know what’s actually being used. The Media Audit screen builds an index of every post, page and template that references each file in your library. See at a glance which files are used and where, which are unused and safe to delete, and which images are embedded without alt text. Bulk-delete unused files with confidence — the delete controls only appear for files nothing references.

Cas d'utilisation

  • Monthly reports and newsletters — Update PDFs linked from past emails without breaking any of those links.
  • Brand refreshes — Replace logos, headers, and brand imagery once; everywhere they’re used updates automatically.
  • Legal documents — Keep current versions of terms of service, privacy policy, and contracts live, with older versions preserved as revisions for compliance.
  • Image updates — Refresh product photos, blog hero images, and marketing assets without breaking responsive sizes or SEO.
  • Typo fixes in published assets — Fix errors in infographics, downloadable guides, or e-books without scrambling to update references across your site.
  • Versioned downloads — White papers, e-books, technical docs that need to stay at a stable URL while preserving older versions on demand.
  • Media library cleanup — Find the files nothing references and reclaim disk space, without guessing whether something is still in use.
  • Accessibility sweeps — Surface every image embedded in content without alt text, in one filterable list.

Traits

Replacement and URL preservation

  • Replace any media file while keeping its URL, ID, and metadata intact
  • Existing internal and external links keep working — no 404s, no SEO impact
  • Automatic regeneration of image size variants (thumbnails, medium, large, etc.)
  • Transparent handling of WordPress’s -scaled large images

Historique des révisions

  • Every replacement automatically snapshots the previous file
  • Major/minor version numbering (e.g. v1.0 → v1.1 → v2.0)
  • Optional replacement note per revision, attributed to the user
  • One-click restore of any past version
  • Download individual revisions, or download a ZIP archive of an attachment’s full history
  • Configurable: maximum revisions per file, age-based retention with daily cleanup, per-file-type opt-in

Block editor integration

  • “Update existing file” in every block’s Replace toolbar dropdown (image, cover, video, audio, file, gallery, media-text, post-featured-image)
  • In-place editor refresh after replacement — no page reload, no lost work
  • Accessibility-friendly notifications via WordPress’s native screen reader announcements

Validation safeguards

  • Filename matching to keep URLs stable
  • Image dimension matching to prevent layout breakage
  • MIME-type matching to prevent file corruption
  • Clear, actionable error messages when something doesn’t match

Built-in admin

  • Settings page at Settings → Smart Media Replacement
  • Storage stats: total revisions, total disk usage, database table status
  • Optional deactivation cleanup (files and/or database)

Multisite-ready

  • Network-activate only on multisite — one consistent configuration across every site
  • Settings live at Network Admin → Settings → Smart Media Replacement and apply network-wide
  • Revisions are stored per-site under each site’s uploads directory; metadata lives in a single shared network table
  • Daily retention cleanup runs across every site in the network
  • Automatic row and file cleanup when a site is deleted
  • Single-site installs work exactly as before — settings and storage stay per-site, no network behavior involved

WP-CLI

  • wp smr db check — verify the revisions table exists (non-zero exit code if missing, safe for CI pipelines)
  • wp smr db repair — recreate the table if missing; idempotent, safe to run when the table already exists
  • wp smr db status — revision counts and storage usage; --network for a per-site breakdown on multisite
  • wp smr db cleanup — delete expired revisions immediately, with --dry-run to preview and --network for all sites

Autres

  • Self-healing database tables via configurable scheduled check (hourly, daily, weekly, or disabled); use wp smr db repair for on-demand recovery
  • Media Audit dashboard listing every file with its usage count, type, size, alt text and upload date
  • Filter by where a file is used (block, featured image, content, post meta), by media type, by used/unused, and by missing alt text
  • “Used In” popover listing the exact posts referencing a file, with edit links
  • Bulk delete restricted to unused files only
  • Index stays current as you edit — saving, trashing or deleting a post updates it without a rescan
  • Developer hooks throughout for custom integrations

Intimité

This plugin is fully self-contained and respects your privacy:

  • Does not collect or transmit any user data
  • Does not use cookies or third-party tracking
  • Only processes files locally on your server
  • Does not communicate with external services or APIs

Usage

From the Media Library

  1. Navigate to the WordPress Media Library
  2. Open the file you want to replace (click on it, or use the row actions in list view)
  3. Click Replace File
  4. Choose your new file — if revisions are enabled, you’ll be prompted for an optional note and version type (minor/major)
  5. The replacement happens immediately, preserving the file’s URL

From the block editor

  1. Click on any media block (image, cover, video, audio, file, gallery, etc.)
  2. Open the Replace toolbar dropdown
  3. Choose Update existing file
  4. Pick your new file — the editor refreshes in place

Viewing and managing revisions

  • In the Media Library list view, the Revisions row action opens the full revision history for that file
  • On the attachment edit screen, the View Revisions button opens the same panel
  • From either, you can download any past version individually or as a ZIP, and restore any revision with one click

Auditing your media library

  1. Go to Media → Media Audit
  2. Click Scan Now and let the index build — progress is shown in place
  3. Use the filter chips to narrow to unused files, a media type, a usage location, or images missing alt text
  4. Click a usage count to see exactly which posts reference that file
  5. Select unused files and delete them in bulk — the delete controls only appear for files nothing references

On multisite, run the scan on each site, or use wp smr audit scan --network to build every site’s index at once.

Installation

  1. Install from the WordPress plugin directory, or upload the smart-media-replacement folder to /wp-content/plugins/
  2. Activate through the Plugins menu in WordPress
  3. (Optional) Visit Settings → Smart Media Replacement to configure revision history behavior
  4. (Optional) Visit Media → Media Audit and run a scan to build the media usage index

Désinstallation

Deactivating the plugin leaves your data alone unless you opted in to the deletion settings. Deleting the plugin removes everything it owns: the revisions table, the media audit tables, all plugin options, cached file-size metadata, scheduled events, and stored revision files. That is irreversible, so export anything you want to keep first. On a large network, run wp plugin uninstall smart-media-replacement from WP-CLI so the per-site cleanup isn’t bounded by a web request.

Multisite

On WordPress multisite the plugin is network-activate only — activate it once from Network Admin → Plugins, then configure it at Network Admin → Settings → Smart Media Replacement. The settings you choose apply to every site on the network. There is no per-site settings page on multisite.

The Media Audit works differently from the settings, deliberately: the audit index is built per site, because it indexes that site’s own content. Each site gets its own Media → Media Audit screen and runs its own scan. Audit tables are created for every existing site on network activation, and automatically for any site created afterwards.

One caveat worth knowing: WP-Cron only runs for a site that is receiving traffic, so a scan started on a quiet subsite may appear to stall. Use wp smr audit scan --site-id=<id> (or --network for every site) to build indexes reliably from the command line.

Journal de modifications

What’s new in 1.3.0

Media Audit. A new Media → Media Audit screen indexes which posts, pages and templates reference each file in your library. Find unused files, see exactly where a file is used before deleting it, and spot images embedded without alt text. Filter by usage location, media type, used/unused, and missing alt. Bulk delete is restricted to unused files.

New WP-CLI commands. wp smr audit scan, wp smr audit status and wp smr audit clear, all supporting --site-id and --network on multisite. On a network these are the reliable way to build indexes, since WP-Cron only fires for sites receiving traffic.

Breaking: this release requires WordPress 7.0 and PHP 8.0. The audit interface is built on the WordPress DataViews component, which is only available in WordPress 7.0 and later.

Settings moved. The settings page is now at Settings → Smart Media Replacement instead of Media → Replacement Settings. Bookmarks to ?page=smr-settings still work — only the parent menu changed.

Also changed: “Delete database on deactivation” now covers the audit tables as well as the revisions table. Deleting the plugin now removes all plugin data including stored revision files — see the Uninstalling section above. Media Library scripts are now cache-busted per release rather than pinned to a fixed version.

What’s new in 1.2.0

Multisite behavior is now consistent and centrally managed.

  • Network-activate only on multisite. WordPress no longer exposes a per-site activation link — a super admin network-activates the plugin once.
  • Network-wide settings. All configuration lives at Network Admin → Settings → Media Replacement and applies to every site on the network. The per-site settings page is no longer registered on multisite.
  • Retention cron is network-aware. The daily cleanup iterates every site so retention applies across the entire network, not just the main site.
  • Plugin “Settings” shortcut on the Plugins screen points to the correct admin (network or site) in both contexts.

Upgrading on multisite: per-site settings stored under v1.1.x are not carried forward to the network store. After upgrading, a super admin should visit Network Admin → Settings → Media Replacement once and confirm the values. Single-site installs are unaffected.

What’s new in 1.1.1

A major feature release. Revision history, block editor integration, and a handful of reliability improvements for managed hosts.

New features

  • Revision history. Every replacement now snapshots the previous file, tracked with major/minor versioning and an optional note. Restore any past version with one click.
  • Block editor integration. “Update existing file” now appears in every block’s Replace toolbar — image, cover, video, audio, file, gallery, and more. The editor refreshes in place, no page reload, no lost work.
  • Download past versions. Save any individual revision, or grab a ZIP archive of an attachment’s full history.
  • Settings page. Control which file types get revisions, how many to keep, how long to retain them, the default version-bump behavior, and whether replacement notes are required.
  • Multisite support. Per-site revision storage and settings, automatic cleanup on site deletion, defaults seeded for new sites.

Reliability improvements

  • Replacements now work on managed hosts where strict file ownership previously caused 500 errors during the upload step.
  • Files are no longer at risk during a failed replacement — the new file is placed before the old one is cleaned up.
  • Smoother restore: no more duplicate confirmations or accidental double-rollbacks.
  • Failed uploads (wrong dimensions, wrong file type) no longer leave behind orphan revisions.
  • The revisions database table is now self-healed on every admin load — recovers automatically from DB resets without needing a deactivate/reactivate.

Durcissement de sécurité

  • Path-traversal protection on revision file lookups.
  • Directory listing prevention on the revisions storage folder.
  • Stricter input validation on version-type parameters.

View all version changes

1.0.0

  • Communiqué initial
  • Replace media files while maintaining URLs
  • Filename validation to prevent URL changes
  • Image dimension enforcement to prevent layout issues
  • WordPress scaled image handling
  • File type validation for consistency
  • AJAX-based replacement with error handling
  • Developer hooks for customization

Journal des modifications complet sur WordPress.org →

Captures d'écran

Update an inserted image straight from the block toolbar — no page reload, no lost work.
Update an inserted image straight from the block toolbar — no page reload, no lost work.
Pick a replacement file and add an optional note describing what changed.
Pick a replacement file and add an optional note describing what changed.
Replacements are validated against the original — file type, filename, and image dimensions — so URLs stay stable and layouts stay intact.
Replacements are validated against the original — file type, filename, and image…
Replace files or view revisions directly from the Media Library row actions.
Replace files or view revisions directly from the Media Library row actions.
Same replacement flow from the attachment edit screen, with the optional replacement note.
Same replacement flow from the attachment edit screen, with the optional replacement note.
Browse, restore, or download past versions — or grab the full history as a ZIP — all from one panel.
Browse, restore, or download past versions — or grab the full history as a ZIP — all from…
Configure revision retention, file-type tracking, comment requirements, and deactivation cleanup from one settings page.
Configure revision retention, file-type tracking, comment requirements, and deactivation…

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Smart Media Replacement alternatives

All media plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 SVG sécurisé SVG sécurisé Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress… par 10 1M+ ★★★★★★★★★★ 4.9 (79) il y a 1 mois 90
2 FileBird – WordPress Media Library Folders & File Manager FileBird – WordPress Media Library Folders & File Manager Organize thousands of WordPress media files in folders / categories with ease. par équipe ninja 200K+ ★★★★★★★★★★ 4.7 (1.1K) Il y a 2 mois 85
3 Media Cleaner : supprimez les images inutilisées et nettoyez votre bibliothèque multimédia Media Cleaner : supprimez les images inutilisées et nettoyez votre média Libr… Recherchez et supprimez les images et les fichiers multimédias inutilisés, corrigez les entrées cassées, avec une poubelle à annuler… de Jordy Meow 90K+ ★★★★★★★★★★ 4.6 (782) Il y a 2 semaines 94
4 Assistante médiathèque Assistante médiathèque Améliore la médiathèque ; Gallery et liste de shortcodes puissants, prise en charge complète de la taxonomie… Par David Lingren 70K+ ★★★★★★★★★★ 4.8 (202) il y a 1 semaine 94
5 Ajouter à partir du serveur Ajouter à partir du serveur Add From Server est conçu pour aider à soulager la douleur des mauvais hôtes Web, vous permettant de télécharger… par Dion Hulse 50K+ ★★★★★★★★★★ 4.6 (239) Il y a 6 ans 46
6 Default Featured Image Default Featured Image Add a Default Featured Image for all posts & pages. by Jan-Willem 50K+ ★★★★★★★★★★ 4.8 (69) il y a 6 jours 79
7 Phoenix Media Rename Phoenix Media Rename The Phoenix Media Rename plugin allows you to easily rename (and retitle) your media files… by crossi72 50K+ ★★★★★★★★★★ 4.7 (75) Il y a 2 semaines 87
8 Media Sync Media Sync Un plugin simple pour analyser le répertoire "téléchargements" et apporter ces fichiers dans la bibliothèque multimédia. par erolsk8 50K+ ★★★★★★★★★★ 4.7 (86) il y a 4 heures 79
9 Renommer le fichier multimédia : renommez les images et les fichiers pour SEO (alimenté par l'IA) Renommer les fichiers multimédias : renommez les images et les fichiers pour SEO (AI-Power… Renommez les fichiers d'images et les métadonnées des médias pour SEO et la propreté. Utilisation de l'IA, manuellement, en bloc ou… de Jordy Meow 40K+ ★★★★★★★★★★ 4.6 (450) Il y a 2 semaines 93
10 Révéler les identifiants Révéler les identifiants Ce que fait ce plugin est de révéler la plupart des ID supprimés sur les pages d'administration, comme c'était le cas dans les versions… par wpseek 40K+ ★★★★★★★★★★ 5 (61) il y a 4 mois 81

FAQ

Smart Media Replacement: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Smart Media Replacement free?

Yes. Smart Media Replacement is free to download and use from the official WordPress.org plugin directory.

Is Smart Media Replacement safe to use in 2026?

Smart Media Replacement works, but test it on a staging site before relying on it in 2026. It runs on 30+ sites and was last updated 4 months ago, and scores 52/100 on our health check.

How many websites use Smart Media Replacement?

Smart Media Replacement is active on 30+ WordPress websites and has been downloaded 1,022 times since it launched in November 2025. It was downloaded 191 times in the last 30 days.

Does Smart Media Replacement work with WordPress 7.1?

Smart Media Replacement is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Smart Media Replacement need?

Smart Media Replacement requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Smart Media Replacement last updated?

The latest version, 1.3.0, was released on August 6, 2026 (4 months ago).

Who makes Smart Media Replacement?

Smart Media Replacement is developed and maintained by Troy Chaplin.

What are the best alternatives to Smart Media Replacement?

The most popular alternatives to Smart Media Replacement are Safe SVG (1M+ installs), FileBird (200K+ installs) and Media Cleaner: Delete Unuse… (90K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir