前言介紹
- 這款 WordPress 外掛「Allowed Routes」是 2017-12-06 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2019-09-26,距離現在已有 2047 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
route | routes | routing | permalink | whitelist |
內容簡介
定義你的網站允許的路由(Allowed Routes),所有其他路由將會返回 404 錯誤。固定鏈接 (Permalinks) 將會被覆蓋。
登入、後端路由和本地文件(例如 wp-login.php)始終可用以防止鎖定。
啟用後,還應該刪除所有頁面緩存以防止不必要的路由行為。
使用案例:
完全控制所有永久鏈接
防止不必要的搜索引擎索引
確保沒有自定義文章類型添加不必要的永久鏈接
無需前端
重要提示:
路由覆蓋了永久鏈接,並且工作方式類似於白名單。只有輸入正確的路由才會繼續訪問。在用於生產環境之前,應該先測試路由
請勿同時使用多個路由或重定向外掛
啟用或禁用路由後,請勿忘記刪除所有頁面緩存,以防止不必要的路由行為
行為:
使用的協議 (HTTP 或 HTTPS) 將被忽略
GET 參數將被忽略
路由區分大小寫
語法 / 通配符:
路由 / 允許訪問首頁(勾選 "Allow index page" 复选框)
通配符 * 允許包含任意值的單個術語(例如 category//page/)
通配符 ** 允許所有可能的術語組合(例如 category/**)此通配符僅允許在路由結尾使用
通配符只允許作為完整術語使用。 正確:/foo//bar/** 錯誤:/foo/ba/test**
原文外掛簡介
Define allowed routes for your website, all other routes will return a 404 error. Permalinks will be overruled.
Login, Backend routes and local files (like wp-login.php) are always available to prevent a lockout.
Also delete all your page caches after enabling to prevent unwanted routing behavior.
Use cases:
Absolute control over all permalinks
Prevent unwanted search engine indexing
Be sure no custom post type adds unwanted permalinks
No frontend needed
Important:
The routing overrules permalinks and works like a whitelist. Only correct entered routes will go through. You should test the routing before using on production environments
Be careful using several routing- or redirect plugins at the same time
Do not forget to delete all your page caches after enabling/disabling the routing to prevent unwanting routing behavior
Behaviour:
The used protocol (HTTP or HTTPS) will be ignored
GET params will be ignored
Routes are case sensitive
Syntax / Wildcards:
The route / allows the index page (Check the checkbox \”Allow index page\”)
Wildcard * allows a single term with an arbitrary value (e.g. category//page/)
Wildcard ** permits all possible combinations of terms (e.g. category/**) This wildcard is only allowed at the end of a route
Wildcards are only allowed as complete terms. Correct: /foo//bar/** Wrong: /foo/ba/test**
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Allowed Routes」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Monobank WP Payment 》這是一個官方的 monobank 模組,可用於連接互聯網收款。, 這是一個 WooCommerce 的 WordPress 插件。, 費率:對於烏克蘭卡片,費率為 1.3%,對於外國卡片,費...。
Paytiko for WooCommerce 》總結:, Paytiko是一款針對WooCommerce的支付流程綜合管理插件,讓您可以在商店內的單一儀表板下管理所有支付流程。, , 問答:, 問:Paytiko是什麼?, 答:Pa...。
JetRouter 》這個WordPress外掛在WordPress標準路由系統之上添加了一個基於正則表達式的路由器。通過這個路由器聲明的任何路由都將優先於WordPress標准URL。, 想要了解如...。
distance-avtodispetcher.ru 》此外掛專門為在俄羅斯城市和主要歐洲城市之間規劃道路路線而設計,僅支援俄語介面。。
BridgerPay Woocommerce 》BridgerPay是全球第一個付款運營平台,以積木式介面建構,自動化所有付款流程,讓任何企業都能使用無代碼、統一且不受限的軟體進行付款、獲取見解和增加收益...。
Custom Page Routes 》。
wegfinder 》如何去? 顯示您選擇的地方的所有路線給您的訪客!, 不論是使用公共交通、汽車、自行車、共享汽車等等 – wegfinder 都能找到所有路徑。, 如下所示:, 1....。
Portly Router 》Portly Router 是一款外掛,設計用於與 Portly一起使用,, 透過公開 URL 存取你的本地 WordPress 設置。, 該外掛根據伺服器的當前主機名稱改變所有 WordPress...。