跳到内容

Custom 404 Pro

v3.16.0

Kunal · 2015年4月23日 上架

Take control of every 404 on your site — redirect visitors to a custom page or URL, log what broke, and get notified when it matters.

正在使用
7,000+
评分
4.2 / 5
累计下载
32 万
最近更新
2026年8月30日
22 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

404 Logs table — searchable, exportable, with bulk-delete support
404 Logs table — searchable, exportable, with bulk-delete support
Global Redirect settings — choose a WordPress page or a custom URL
Global Redirect settings — choose a WordPress page or a custom URL
General settings — logging, email notifications, IP recording, and redirect status code
General settings — logging, email notifications, IP recording, and redirect status code

Custom 404 Pro replaces WordPress’s default 404 behaviour with a proper redirect. Instead of leaving visitors on a dead-end error page, you can send them to any page on your site or an external URL — with the HTTP status code of your choice.

Redirect Modes

  • WordPress Page — pick any published page from a dropdown; the plugin redirects to it automatically.
  • Custom URL — enter any absolute URL to redirect 404s off-site or to a specific path.
  • HTTP Status Code — choose 301, 302, 307, or 308 to match your SEO or caching requirements.

404 Logging

When logging is enabled, the plugin records every 404 hit to a database table so you can see exactly what is broken:

  • Request path
  • Visitor IP address (can be disabled for privacy/GDPR compliance)
  • Referrer URL
  • User agent
  • Timestamp

Logs are searchable and can be deleted individually, in bulk, or all at once. They can also be exported as a CSV file. A configurable retention policy lets you automatically cap the table by row count, by age, or both — with a daily background cleanup and an on-demand Prune Now button.

Email Notifications

Optionally receive an admin email each time a 404 is logged. Designed for low-traffic monitoring — if you expect high 404 volume, keep this off to avoid inbox flooding.

Multisite Support

Works correctly on WordPress Multisite installations — activation creates the logs table for each site in the network.

Multilingual Support

Compatible with Polylang and WPML. The redirect page is resolved to the correct language variant for the current visitor automatically.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums