Redirect 404 Error Page to Homepage or Custom Page with Logs

描述

Easily redirect WordPress 404 error pages to the homepage or any other page. The plugin supports permanent redirects (HTTP response status code 301) and temporary redirects (HTTP response status code 302). The plugin will redirect 404 error pages to the homepage when you activate it by using the 301 permanent redirects.

To configure it open Dashboard >> Settings >> General Settings and scroll down to the bottom.

Note 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 with an ugly, uninformative 404 server error page that can’t be changed without missing code and set to still return 404. Simply create a new custom 404 error page and activate the plugin – problem solved!

It’s also beneficial 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.

It is an ideal plugin for missing page redirection.

屏幕截图

  • 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

Please activate the plugin and enable the permalinks. If the issue still persists, then Visit the Support Forum.

评价

2023年4月18日
This plugin looks good. I have to use it even longer, but for now everything is OK
阅读所有44条评价

贡献者及开发者

“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订阅开发日志

更新日志

1.8.8

  • Improved sql queries for better security.

1.8.7

  • Fix: Delete log entries functionality

1.8.6

  • Update libraries

1.8.5

  • Change ASTRA generated title for 404 page to the custom page title

1.8.4

  • add buy me a coffee donation

1.8.3

  • update library

1.8.2

  • fix plugin deletion process

1.8.1

  • update donation library

1.8.0

  • remove Freemius library
  • add donate information

1.7.9

  • Library update
  • Security Update
  • Test on 5.8

1.7.8

  • Library update
  • improved escaping
  • test on 5.7

1.7.7

  • Library update

1.7.6

  • Remove link

1.7.5 (2019/11/13)

  • 5.3 update
  • settings update

1.7.4 (2019/07/04)

  • Upgrade Freemius library to 2.3.0

1.7.3 (2019/04/03)

  • Change to 404 option to ensure that 301 is not sent before 404

1.7.2 (2019/02/28)

  • Minor improvement

1.7.1 (2019/02/25)

  • Minor improvement

1.7 (2018/12/07)

  • Minor tweak to admin to cater to the 5.0 block editor

1.6 (2018/09/06)

  • Added capturing template 404 redirects, where plugins like Mailpoet handle redirects directly to the template.

1.5 (2018/09/01)

  • Added logging capability

1.4 (2018/06/01)

  • Changed to keep admin redirects, e.g., admin/login, etc

1.3 (2018/08/01)

  • Transferred to Fullworks for future development
  • Changed permalink warning to admin notice
  • Made language translatable
  • Made pages selectable
  • Added reset to default to settings
  • Added Freemius opt-in
  • Added 404 redirect type for custom 404 pages

1.2 (2018/07/20)

  • Added 301/302 redirect type option
  • reworked readme.txt

1.1 (2018/05/09)

  • WebFactory took over development

1.0 (2016/05/27)

  • Initial release