[WordPress] 外掛分享: no404 – Auto 404 Redirect

首頁外掛目錄 › no404 – Auto 404 Redirect
WordPress 外掛 no404 – Auto 404 Redirect 的封面圖片
全新外掛
安裝啟用
尚無評分
2 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.3 上架:2026-09-08

內容簡介

no404 – Auto 404 Redirect 外掛自動處理網站上的 404 錯誤,透過同步索引舊網址,將流量導向最接近的有效網址,無需手動設定規則,提升用戶體驗與網站 SEO。

【主要功能】
• 自動匹配最接近的有效網址
• 無需手動設定重定向規則
• 提供 301 和 302 重定向選擇
• 在模板重定向後執行,兼容其他外掛
• 當服務不可用時,正常顯示 404 頁面

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「no404 – Auto 404 Redirect」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

When you delete a product, change a permalink or migrate a site, the old URLs keep getting traffic. Visitors land on an empty 404 page, and the traffic and the signals those old links carry go nowhere.
Most redirect plugins ask you to fix this by hand: you write a rule for every broken URL. That does not scale past a few dozen.
no404 works the other way around. It keeps a synchronised index of the URLs your site actually has, and when a request 404s it finds the closest match in that index automatically. You write no rules.
How it is different

No manual rules. Other plugins need /old-url → /new-url written out one at a time. no404 matches against your live catalogue, so a deleted product URL finds its closest surviving equivalent on its own.
A real 301, server side. JavaScript based solutions leave the HTTP status at 404, so Google still sees a dead page and bots that do not run JavaScript are never redirected. This plugin redirects before any HTML is sent.
It defers to your existing setup. no404 runs late on template_redirect, so Yoast SEO, Rank Math and Redirection get to act first. It is a last resort, not a competitor to your redirect table.

Your site never waits
If the service is slow or unreachable, the plugin steps aside and your theme’s own 404 page renders normally. Requests time out after 1.5 seconds, and after a failure the plugin stops calling out entirely for a short while instead of adding that delay to every 404.
301 or 302?
You decide, in your no404 dashboard (site Settings → “Permanent (301) or temporary (302)?”). Because 301s may be cached aggressively by browsers and search engines and can be hard to reverse quickly, the default is cautious:

Redirects you defined by hand in your no404 dashboard → 301
Catalogue matches at or above your 301 threshold (0.5 by default; you can pick 0.7, 0.35, a custom value, or “only manual redirects get a 301”) → 301
Lower confidence matches and fallbacks → 302

The no404 API sends this decision with every result and the plugin follows it, so changing the setting needs no plugin update. You can still force everything to 301 in the plugin settings, but it is off by default.
Quota friendly by design
Results are cached locally for an hour, including “no match found”. A bot hammering the same dead URL two hundred times a day costs you one lookup, not two hundred. Static files (.css, .js, .png and so on) and admin paths such as /wp-admin and /wp-json are never sent to the service at all.
WooCommerce
Deleted product URLs are the main thing this plugin was built for. It does not interfere with WooCommerce permalink structures.
Account required
The matching engine runs as a hosted service, so the plugin needs a free no404 account and an API key. The free plan covers 1,000 lookups per month. See the External services section below for exactly what is transmitted.
Languages
The plugin is written in English and ships with translations for Turkish, German, French, Spanish, Russian, Hindi and Arabic (right-to-left). It follows the language of your WordPress installation, so there is nothing to configure.
External services
This plugin relies on the no404 service to work out where a broken URL should be redirected. The matching is done remotely, against an index of your site built from your sitemap, so the plugin cannot perform it on its own.
When data is sent
A request is sent when a visitor hits a 404 page, and only then. Requests are not sent when:

the result for that path is already in the local cache (one hour by default),
the path is a static file or an administrative path (see the exclusion list in the settings),
the request is not a GET or HEAD request,
the service recently failed or the request limit was reached.

What is sent

The path that returned 404, for example /old-product. Query strings are stripped before sending.
The referring URL, taken from the HTTP Referer header, when the browser supplies one.
The visitor’s IP address truncated to its network: the last part of an IPv4 address is set to zero (203.0.113.45 becomes 203.0.113.0), and only the first 48 bits of an IPv6 address are kept. Private and local addresses are not sent. This is what lets your dashboard tell bots from people and group requests by network.
A pseudonymous visitor ID: a keyed hash (HMAC-SHA256) of the visitor’s IP address, computed on your server with a secret derived from your site’s own security keys. no404 never receives the secret, so it cannot turn the ID back into an address or recognise the same visitor on another site. It only lets your dashboard count unique visitors.
The visitor’s browser user agent (for example Mozilla/5.0 (iPhone; …)), used to classify the request as a bot or a browser and by device type.
The visitor’s country code, only when your site is behind Cloudflare and it supplies one (CF-IPCountry).
Your site’s home URL and the plugin version, sent in the User-Agent header to identify the installation.
Your API key, which identifies your account.

What is not sent
The plugin never transmits the visitor’s full IP address, cookies, session data, form contents, the query string or click IDs. Developers can change or remove the visitor data with the no404_visitor filter.
Service provider
The service is operated by no404, https://no404.tr

Terms of Service: https://no404.tr/terms
Privacy Policy: https://no404.tr/privacy

延伸相關外掛

文章
Filter
Mastodon