
內容簡介
這個外掛可以幫助您在文章和頁面中替換壞掉的圖片為一個預設的圖像。
功能
以預設圖像替換壞掉的圖片
自定義圖像重定向
SEO圖像重定向
需求
WordPress 3.8+
PHP 5.2+(如果您使用Browscap數據文件,則需為5.5+)
MySQL 5.0.3+
至少20 MB的免費網絡空間
至少5 MB的免費數據庫空間
至少32 Mb的免費PHP內存用於跟踪器(峰值內存使用量)
IE9+或任何支援HTML5的瀏覽器,以訪問報告
支援
我們很樂意幫助。在聯繫我們之前,請執行以下幾個步驟:
如果您有任何疑問,也可以通過[email protected]與我們聯繫。
外掛標籤
開發者團隊
② 後台搜尋「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
Privacy
This plugin does not collect, store, or transmit any data outside your WordPress installation. No tracking, no analytics, no external requests.




