WP-Optimize
95Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
Replace broken images with a default image, hide them entirely, or set custom per-image redirection rules. Lightweight, fast, and SEO-friendly.
404 Image Redirection (Replace Broken Images) is a WordPress plugin designed to manage broken images on your site. It allows you to either replace missing images with a default image or completely remove them from the page. This functionality helps improve user experience and SEO by preventing 404 errors from appearing to visitors.
The plugin operates by writing a rewrite rule to your server's configuration, enabling it to serve replacement images without PHP overhead. It includes options for both Apache and Nginx servers, ensuring compatibility across different hosting environments. This plugin is suitable for website owners who want to maintain a professional appearance and enhance site performance by managing broken image links effectively.
Best for: Website owners looking to improve user experience and SEO by managing broken images.
What it does well
Where it falls short
This plugin provides a straightforward solution for handling broken images on WordPress sites, making it a practical choice for those prioritising site appearance and performance.
wp-buy's own description of 404 Image Redirection, lightly tidied.
404 Image Redirection (Replace Broken Images) prevents broken image icons from appearing on your WordPress site. When a visitor requests an image that no longer exists, the plugin either serves a default replacement image or removes the broken image from the page entirely — your choice.
Broken images hurt your site:
* They damage user experience — visitors lose trust instantly
* They hurt your SEO — search engines penalize 404 errors
* They look unprofessional — especially on product and content pages
.htaccess rule, zero PHP overhead per request.htaccess is unavailableOn Apache servers, the plugin writes a small rewrite rule to your wp-content/.htaccess file. When a visitor requests a missing image, your server serves the replacement image instead of returning a 404. This is fast (no PHP execution per image) and SEO-friendly (the response is a real 200 OK with a real image).
On Nginx, LiteSpeed, or hosts with a non-writable .htaccess, the plugin automatically falls back to a PHP-based handler that does the same job via WordPress’s template_redirect hook.
1. Replace mode (default): Show your chosen default image whenever a broken image is requested. Best for visual consistency.
2. Hide mode: Remove broken images from the page entirely, along with their parent link and surrounding <figure> or caption wrapper. Best for clean layouts where missing images should leave no trace.
This plugin does not collect, store, or transmit any data outside your WordPress installation. No tracking, no analytics, no external requests.
Other plugins for making sites fast.
Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...
Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...
Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...
Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...
Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...