Update Any WordPress Media File. Keep Every Link Intact.
Delete and re-upload breaks your URLs, your SEO, and every page that uses the file. Smart Media Replacer replaces the file in place — same URL, new content, zero broken links.
The Problem & The Solution
See the difference between the default WordPress approach and Smart Media Replacer.
Delete & Re-upload
- ✗New URL generated automatically
- ✗Every post using the image shows broken link
- ✗Google loses the indexed URL
- ✗External sites get 404
- ✗You manually update every reference
Replace In Place
- ✓Original URL preserved exactly
- ✓All posts keep working automatically
- ✓Google keeps the indexed URL
- ✓External links stay intact
- ✓Database updated automatically
How It Works
Five steps. No configuration. No settings page.
Open Media Library
Find the file you want to replace
Click "Replace Media"
The action appears in the item menu
Upload New File
Drag and drop or browse
Plugin Processes
File replaced, thumbnails regenerated, database updated
Done
Same URL, new content, nothing broken
Features
Everything you need to replace media files safely and completely.
URL Preservation
The file path never changes. Every link, embed, and index entry keeps working.
Thumbnail Regeneration
All registered image sizes are regenerated automatically from the new file.
Database Reference Updates
wp_posts and wp_postmeta updated throughout. No orphaned references.
Extension Change Support
Replacing JPG with PNG? References update automatically to match.
CSRF Protection
Nonce verification on every request. No unauthorized replacements.
Permission Checks
Only users with upload_files capability can replace media. Respects WordPress roles.
AJAX-Powered
Smooth replacement without page reloads. Works with the standard Media Library interface.
Zero Configuration
Install, activate, and the Replace Media action appears automatically. No settings page needed.
Use Cases
Common scenarios where Smart Media Replacer saves you time.
Update Your Logo
Replace your logo file and every page, header, and widget using it updates automatically. No template editing required.
Fix Product Images
Replace a WooCommerce product image without losing its URL, Google ranking, or any existing links from other sites.
Swap PDF Documents
Update a downloadable PDF — price list, brochure, manual — without touching every page that links to it.
Simple Pricing
One plugin. One price. No subscriptions.
- ✓ Replace any media file in place
- ✓ Automatic thumbnail regeneration
- ✓ Database reference updates
- ✓ Extension change support
- ✓ Security hardened
- ✓ Zero configuration
Frequently Asked Questions
Common questions about Smart Media Replacer.
Does the URL change after I replace a file?+
No. The file is replaced at the exact original path. The URL stays identical. Every link, embed, and Google index entry continues to work without any changes.
Can I replace any file type?+
You can replace images (JPG, PNG, WebP, GIF), PDFs, and other standard WordPress media types. The plugin validates file types before processing.
What happens if I replace a JPG with a PNG?+
The plugin detects the extension change and updates all database references to point to the new extension, preventing broken links.
Does it work with WooCommerce product images?+
Yes. Product images are standard WordPress attachments. The Replace Media action works with any file in the Media Library.
What if something goes wrong during replacement?+
The plugin runs file permission checks and validation before any operation begins. If you need to revert, you can re-upload the original file using the same Replace Media action.