Redirect 404 to parent

外掛說明

Redirect any 404 request to the parent URL with this incredibly powerful, easy-to-use, well supported and 100% free WordPress cookie plugin.

Simply put, the plugin performs the following: when there is a 404 page found such as /about/sample-url then the plugin will automatically redirect the visitor to /about/

It’s a very powerful plugin that saves you many hours specifying individual redirects for every 404 page. With our plugin, you can define one simple rule that will cover all child pages that produce 404 errors.

Features

  • You can defined the BASE URL – this is the URL that will be served as a starting point.
  • You can define the type of the redirection done by WordPress (302, 301, etc.).
  • You can add as many rules you want and easily delete them if you don’t need them anymore
  • The plugin checks if you already added a rule based on the slug, so you won’t add the same rule twice.
  • The plugin checks if the URL you are setting up as a BASE exists in WordPress as a post or page, so you’re not creating an erroneous URL base.
  • You can see a log of the 404 redirected by the plugin (if the plugin registers any 404 errors), so you can easily identify what URLs are generating the 404 errors.
  • If there are more than 10 rows in the 404 log/statistics, you can download the whole log for an URL in CSV format.

Example Use Case

  • Base URL (set up in this plugin as a rule): http://yourdomain.com/sample-page/
  • Target URL: http://yourdomain.com/sample-page/non-existing-page

In this case if a visitor tries to access the TARGET URL, WordPress returns a 404 error/page by default because the page/post doesn’t exist.

Our plugin will automatically redirect the visitor to http://yourdomain.com/sample-page/ instead of letting the visitor end up on a 404 page.

About us

Moove Agency is a premium supplier of quality WordPress plugins, services and support. Visit our site to learn more.

螢幕擷圖

  • Adding redirect rules.
  • View / Remove redirect rules & statistics

安裝方式

  1. Upload the plugin files to the plugins directory, or install the plugin through the WordPress plugins screen directly by searching for the plugin by name.
  2. Activate the plugin through the \’Plugins\’ screen in WordPress.
  3. Use the Settings -> Moove redirect 404 page to configure the plugin and add rules.

使用者評論

2020 年 2 月 28 日
My website lists dive watches scraped from eBay. I have always had a problem with old and obsolete listings. For 6 months I have DELETED any posts over 4 weeks old. This has resulted in thousands of 404 errors ... With this plugin I can 301 redirect any deleted listing (post) to the parent category eg. /seiko-tuna-uk/this-watch-has-been-deleted/ 301 redirected to /seiko-tuna-uk/ where the visitor can browse the latest 12 listings 🙂 THANK YOU PS - I have made a small donation
閱讀全部 2 則使用者評論

參與者及開發者

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

參與者

將〈Redirect 404 to parent〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.4.1

  • Statistic options disabled by default

1.4.0

  • General Settings added to manage statistics status

1.3.4

  • Add new redirect CURL function replaced to wp_remote_get

1.3.3

  • WP 6.2 Compatibility

1.3.2

  • WP 6.0 Compatibility

1.3.1

  • Admin navigation improved

1.3.0.

  • Add / Remove redirect form improved

1.2.2.

  • Minor CSS fix

1.2.1.

  • Hook added to disable stats

1.2.0.

  • Improved admin layout
  • Compatibility with php 7.x
  • Multisite compatibility added

1.0.2.

  • Added donation box

1.0.1.

  • Fixed PHP warnings

1.0.0.

  • Initial release of the plugin.