[WordPress] 外掛分享: Simple Maintenance Redirect

首頁外掛目錄 › Simple Maintenance Redirect
WordPress 外掛 Simple Maintenance Redirect 的封面圖片
90+
安裝啟用
尚無評分
139 天前
最後更新
問題解決
WordPress 5.9+ PHP 7.4+ v1.1.2 上架:2025-04-27

內容簡介

總結:Simple Maintenance Redirect 是一個WordPress外掛,允許網站管理員通過將訪問者重定向到所指定的頁面或外部URL來啟用維護模式,而無需使用各種複雜的設置。已登錄的管理員仍可正常訪問網站,確保更新時工作流程無縫。

問題與答案:
- Simple Maintenance Redirect 這個外掛主要提供了哪些功能?
- 自定義維護頁面:在網站進入維護模式時將訪問者重定向到所選的WordPress頁面。
- 維護頁面修改:在維護頁面上自動隱藏標頭和頁腳,並將維護模式類別添加到body元素進行進一步自定義。
- 外部重定向選項:如果需要,可以將訪問者重定向到外部URL而不是WordPress頁面。
- 管理員略過:已登錄的管理員可以在無重定向的情況下繼續操作網站。
- 開發人員鈎子:修改用戶應重定向的規則。

- 如何使用Simple Maintenance Redirect外掛?
- 創建並發佈一個帶有你的自定義維護消息的頁面。
- 轉到"Settings > General",選擇"維護模式頁面"或輸入外部URL。
- 啟用後,訪問者將被重定向到所選的頁面或URL。已登錄的管理員仍可訪問網站。
- 如果選擇了一個WordPress頁面,當維護模式啟用時,該頁面將自動設置為"發佈",並在停用時恢復為"草稿"。
- 這個外掛不會影響登錄頁面、REST API或JSON端點。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple Maintenance Redirect」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Simple Maintenance Redirect allows site administrators to enable maintenance mode by redirecting visitors to one of your specified pages (without header and footer) or an external URL instead of complicating things with all kinds of confusing settings. Logged-in administrators can still access the site normally, ensuring a seamless workflow while updates are made.
Features:

Custom Maintenance Page: Redirects visitors to a selected WordPress page while the site is in maintenance mode.
Maintenance Page Modifications: Automatically hides the header and footer on the maintenance page and adds a maintenance-mode class to the body element for further customization.
External Redirect Option: Redirect to an external URL instead of a WordPress page if needed.
Admin Bypass: Logged-in administrators can continue working on the site without redirection.
Developer Hook: Modify rules for when a user should be redirected.

How It Works:

Create and publish a page with your custom maintenance message.
Go to Settings > General and choose a Maintenance Mode Page or enter an External URL.
When enabled, visitors will be redirected to the selected page or URL. Logged-in administrators can still access the site.
The plugin does not affect the login page, REST API, or JSON endpoints.

This plugin is great for “coming soon” pages, staging site protection, design previews, or any situation where you need to hide the main site while keeping access for yourself.
Demo

延伸相關外掛

文章
Filter
Mastodon