| 开发者 | lobbit |
|---|---|
| 更新时间 | 2026年10月22日 07:57 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
.env, wp-config.php backups, old scripts, admin tools). Counted, but kept out of the list unless you ask for them, because there is nothing to fix.DONOTCACHEPAGE), so every visit is seen; when you save a redirect, the cached copy of that address is cleared./favicon.ico or a whole folder.Better not. Google treats those redirects as 404 pages and does not pass the ranking of the old page to the home page, and visitors land on a page that is not the one they looked for. The best fix is a redirect to the page that replaced the old one; for a broken link of your own pages, fix the link. The switch is there for the cases where you want it anyway, and the visits keep being recorded.
From the Referer header the browser sends, the address and the User-Agent header. Search engines usually send only their host (for example https://www.google.com/), so the plugin knows the visitor came from Google but not what was searched. A browser or a site may also send no referer at all: those visits count as Direct.
Only when WordPress answers for them. On most servers a missing file inside wp-content/uploads gets its 404 from the web server, without WordPress: those are not seen.
Yes. The plugin asks the page caches not to keep 404 pages and clears the cached copy of an address when you save its redirect, for LiteSpeed Cache, WP Rocket and WP Super Cache. For another cache, hook its purge to the lobbit_404_purge_url action, which receives the full address.
Add the other hosts with the lobbit_404_site_hosts filter, so that the links from them count as internal.
Its tables (log and redirects), its settings and its scheduled cleanup are removed. Deactivating it keeps everything.