WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by wp-buy v2.0.0

404 Image Redirection

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

The facts

Rating
3.5★ from 2
Active installs
500+
Price
Free
Last updated
9 May 2026
Added
Dec 2021
Requires WP
5.0
Tested up to
WP 6.9.7
Requires PHP
7.2
Downloads
10,459

Our analysis

AI-assisted

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

  • Prevents broken image icons from appearing on the site
  • Offers options to replace or hide broken images
  • Includes custom redirection rules for specific image URLs
  • Works on both Apache and Nginx servers
  • Does not collect or transmit any user data

Where it falls short

  • Limited information on user experience or support
  • No additional features beyond image redirection

Verdict

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.

From the developer

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.

Why this plugin?

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

Key Features

  • Replace broken images with a default image of your choice
  • Hide broken images entirely — JavaScript removes them from the DOM along with their links and captions
  • Custom redirection rules — map specific broken image URLs to specific replacement images
  • Server-level performance on Apache — uses a small .htaccess rule, zero PHP overhead per request
  • PHP fallback for Nginx and LiteSpeed — works on any host, even if .htaccess is unavailable
  • Clean uninstall — removes only what the plugin added, never touches WordPress or other plugins’ rules
  • Master kill switch — when you toggle the plugin off, it truly stops working

How it works

On 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.

Two display modes

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.

Privacy

This plugin does not collect, store, or transmit any data outside your WordPress installation. No tracking, no analytics, no external requests.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration &amp; PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page &amp; Coming Soon Page. Enable Under Construction Mode in seconds &amp; sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP &amp; AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP &amp; AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)