[WordPress] 外掛分享: Redirect 404 to parent

首頁外掛目錄 › Redirect 404 to parent
WordPress 外掛 Redirect 404 to parent 的封面圖片
50+
安裝啟用
★★★★
4.5/5 分(2 則評價)
55 天前
最後更新
問題解決
WordPress 4.3+ PHP 5.6+ v1.4.1 上架:2016-02-29

內容簡介

使用這個功能強大、易於使用、得到良好支援,並且完全免費的 WordPress cookie 插件,重導任何404請求到父級 URL。

簡單來說,這個插件的功能是:當發現404頁面,例如/about/sample-url,插件就會自動將訪客重導向至/about/。

這個相當強大的插件能夠省下眾多時間,因為不需要針對每個404頁面指定個別的重導規則,使用我們的插件,您只需要定義一個簡單的規則,就可以涵蓋所有因子頁面而導致404錯誤。

功能

您可以定義基礎 URL – 這是作為起點提供的 URL。
您可以定義 WordPress (302, 301 等) 進行的重導型別。
您可以新增任意多個規則,並在不需要時輕鬆刪除它們。
插件會根據 url slug 檢查是否已經新增了相同的規則,避免重複新增重導規則。
插件會檢查您在基礎設置中設定的 URL 是否存在為 WordPress 的文章或頁面,避免創建錯誤的基礎 URL。
您可以查看由插件重導的404錯誤記錄 (如果插件註冊了任何404錯誤),以便輕鬆確定生成404錯誤的 URL。
如果404日誌/統計信息中有10行以上,您可以按CSV格式下載 URL 的完整日誌。

使用案例示例

基礎 URL (在此插件中設置為規則): http://yourdomain.com/sample-page/
目標 URL: http://yourdomain.com/sample-page/non-existing-page

在這個例子中,如果訪客嘗試訪問目標 URL,WordPress 默認情況下會返回404錯誤/頁面,因為該頁面/文章不存在。

我們的插件將自動將訪客重導向至http://yourdomain.com/sample-page/,而不是讓訪客最終停留在404錯誤頁面上。

關於我們

Moove Agency是優質WordPress 插件、服務和支援的主要供應商。 訪問我們的網站 以了解更多。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon