plugin-icon

404 Image Redirection (Replace Broken Images)

제작자: wp-buy·
Replace broken images with a default image, hide them entirely, or set custom per-image redirection rules. Lightweight, fast, and SEO-friendly.
평가
3.5
버전
2.0.0
활성화된 설치 항목
600
최근 업데이트일
May 9, 2026
404 Image Redirection (Replace Broken Images)

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.

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.9.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.