404 Site Checker

外掛說明

This plugin will look at another site you specify whenever a 404 error occurs and check if the requested path is there. If the path is found, it will redirect there rather than show the WP 404 page.

This is particularly useful to silently redirect over to an archival copy of a website when a major redesign has been done.

More information about this plugin can be found on its homepage.

安裝方式

Once the plugin is installed and activated follow the on-screen prompt to set the URL of the site to check against. The prompt takes you to the Settings > 404 Site Checker screen in the Dashboard, which has a field for you to enter the URL of the site to check against.

If you are using this on a WordPress Multisite Network install where all sites should share one check site, you may prefer setting the check site in your wp-config.php file using the following code:

define(‘TG_404_CHECK_SITE’, ‘https://example.com’);

The plugin will always use what is defined in wp-config.php if it is found. So if you have a check site set both ways, the one set from the 404 Site Checker screen will be ignored.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈404 Site Checker〉的開發相關工作。

參與者

將〈404 Site Checker〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1 – 2022-11-04

  • Fix for fatal error seen by new users on settings page

1.1 – 2022-08-17

  • Support an array of check sites in the define statement (#12)

1.0.5 – 2021-08-11

  • Made assorted cleanup fixes to the page for this plugin on WordPress.org (#6)
  • Unified plugin name with settings screen title (#7)
  • Added an icon for the plugin (#9)

1.0.4 – 2021-08-10

  • Now using WP HTTP library (#3)
  • Properly escaping variables (#4)
  • Using a text domain (#5)
  • Numerous other tweaks to support submission to WordPress.org and to unify reused code

1.0.3 – 2021-08-07

  • Changed the title of the plugin in its settings screen

1.0.2 – 2021-08-05

  • Added an admin notice for when the check site is not configured (#2)

1.0.1 – 2021-08-05

  • Added a settings screen (#1)

1.0.0 – 2021-08-05

  • Initial release