[WordPress] 外掛分享: Simple Maintenance Redirect

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

內容簡介

Simple Maintenance Redirect 外掛讓網站管理員能夠輕鬆啟用維護模式,將訪客重定向至指定的頁面或外部網址,簡化設定過程。已登入的管理員仍可正常訪問網站,確保更新過程中的工作流順暢。

【主要功能】
• 自訂維護頁面:將訪客重定向至選定的 WordPress 頁面
• 隱藏頁首和頁尾:維護頁面自動隱藏頁首和頁尾
• 外部重定向選項:可選擇重定向至外部網址
• 管理員繞過:已登入的管理員可繼續訪問網站
• 排除特定頁面:可選擇不重定向的個別頁面
• 重定向狀態碼:選擇 302、307 或 503 狀態碼

外掛標籤

開發者團隊

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

① 下載 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.
Omit Specific Pages: Choose individual pages that should never redirect, even while maintenance mode is active, using a simple searchable page picker.
Redirect Status Code: Choose between 302 (default), 307, or 503 depending on whether this is a quick temporary redirect or genuine maintenance downtime.
REST API Exemption: REST API (wp-json) requests are exempt from redirection by default, so the block editor, app connections, and other plugins that rely on REST keep working. This can be disabled if you specifically want to block REST access too.
Developer Hook: Modify rules for when a user should be redirected. See our developer docs for details.

How It Works:

Create and publish a page with your custom maintenance message.
Go to Settings > Simple Maintenance Redirect and choose a Maintenance Mode Page or enter an External URL.
When enabled, visitors will be redirected to the selected page or URL, using the redirect status code you’ve chosen. Logged-in administrators can still access the site.
The plugin does not affect the login page. REST API/JSON requests are exempt by default, and individual pages can be added to the omit list.

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