Redirect 404 Error Page to Homepage or Custom Page with Logs

描述

Easily redirect WordPress 404 error pages to the homepage or any another page. Plugin supports both permanent redirects (HTTP response status code 301) and temporary redirects (HTTP response status code 302). Plugin will start redirecting 404 error pages to the homepage as soon as you activate it by using the 301 permanent redirect. To configure it open Dashboard -> Settings -> General Settings and scroll down to the bottom.

Please note that permalinks have to be enabled in Dashboard -> Settings -> Permalinks in order for the 404 Redirect to work properly.

New Feature: 404 errors can be logged with this plugin so you can examine what pages may be missing.

Redirect 404 Error Page is very useful for themes that have an ugly, uninformative 404 server error page that can’t be changed without messing with code and set to still return 404. Simply create a new custom 404 error page and activate the plugin – problem solved!
It’s also very useful in situations when a lot of content has been removed from the site. For those situations create a new page explaining what happened and simply configure Redirect 404 to use that page.

This is an ideal plugin for missing page redirection.

PHP 8.0 compatible

Tested on PHP 8

屏幕截图

  • Redirect 404 Error Page Admin Page Screenshot

安装

Follow the standard procedure:

  1. Upload the unzipped plugin folder to the /wp-content/plugins/ directory or install the plugin from Dashboard -> Plugins -> Add New
  2. Activate the plugin through the Plugins menu
  3. Head to Dashboard -> Settings -> Redirect 404 Settings to configure it

常见问题

404 Error Pages are not being redirected

Did you activate the plugin? And enable the permalinks? Still doesn’t work? Sorry to hear that. Please head over to the support forum and open a new thread. We’ll help you out ASAP.

评价

2022年8月1日
I used to be techy but it's been a while. So I held my breath that this would work easily without much fuss - it did. YAY!
阅读所有32条评价

贡献者及开发者

“Redirect 404 Error Page to Homepage or Custom Page with Logs” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Redirect 404 Error Page to Homepage or Custom Page with Logs”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Redirect 404 Error Page to Homepage or Custom Page with Logs”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志