
內容簡介
**總結:**
Beckin Maintenance Mode是一個輕量且安全的WordPress外掛,讓管理員可以安全地將其網站進入維護模式,而不損害SEO。它發送適當的帶有可選Retry-After值的503服務不可用頭,可以阻止訪客,同時仍允許管理員登錄,並防止緩存以確保您的網站干凈重新開啟。
**問題與答案:**
1. 什麼是Beckin Maintenance Mode?
- Beckin Maintenance Mode是一個輕量且安全的WordPress外掛,允許管理員安全地將網站進入維護模式,同時不損害SEO。
2. 這個外掛有哪些特點?
- (1) 智能的503響應,保持SEO安全。
- (2) 管理員可繞過,即使在維護模式下,也可以登錄並工作。
- (3) 備份和API安全,不破壞RSS feeds和REST API請求,保證外部工具和讀者正常使用。
- (4) 緩存控制保護,添加no-cache標頭,使維護頁面不會被瀏覽器或CDN緩存。
- (5) 簡單的設置頁面,使用WordPress核心設置API,具有清潔和直觀的管理員UI。
- (6) 管理員工具欄標識,當處於活動狀態時顯示微妙的“維護中”標識,以快速查看。
- (7) CLI集成,提供WP-CLI命令(wp beckin-mm enable|disable|status)。
- (8) 限制控制,只有具有manage_options功能的管理員可以啟用、禁用或更改維護模式的設置。
- (9) 輕量且安全,無任何膨脹和依賴關係。
3. 如何對這個外掛提供反饋?
- 如果您喜歡我們的插件並覺得有用,請考慮在WordPress.org上留下評論。您的反饋是形塑我們未來增長的關鍵!
外掛標籤
開發者團隊
原文外掛簡介
Beckin Maintenance Mode is a lightweight, secure plugin that lets administrators safely put their WordPress site into maintenance mode without hurting SEO. It sends the proper 503 Service Unavailable header with an optional Retry-After value, shows a maintenance page to visitors while still allowing admin logins, and prevents caching to ensure your site reopens cleanly.
While maintenance mode is active, logged-in admins (and any other allowed roles) can continue working in the dashboard and browse the frontend normally. To preview the maintenance / coming soon page as a visitor, you can do any of the following:
Open your site in a different browser
Open an incognito or private window
Use a device where you are not logged in
Log out of the admin dashboard
The first 3 options easily let you preview the maintenance page without interrupting your own work. Everyone who is not logged in, or does not have permission to bypass maintenance mode, will see the maintenance page instead of your normal site.
FEATURES
1. Smart 503 Response – Sends a proper HTTP 503 Service Unavailable header with optional Retry-After, which keeps your SEO safe.
2. Admin Bypass – Admins can log in and keep working without being blocked, even while maintenance mode is active.
3. Editor Bypass Mode – Optionally allow users who can edit posts (for example Editors and Authors) to keep working while visitors and subscribers see the maintenance page.
4. Feed & API Safe – RSS feeds and REST API requests aren’t broken, so external tools and readers still function.
5. Cache-Control Protection – Adds no-cache headers so the maintenance page isn’t cached by browsers or CDNs.
6. Simple Settings Page – Clean and intuitive admin UI using core WordPress settings API, with sanitized input and escaped output everywhere.
7. Admin Bar Badge – Shows a subtle “Maint. ON” badge when active for quick visibility.
8. CLI Integration – Offers WP-CLI commands (wp beckin-mm enable|disable|status) for devs managing maintenance mode programmatically.
9. Restricted Control – Only administrators (with the manage_options capability) can enable, disable, or change settings for maintenance mode.
10. Lightweight & Secure – No bloat and zero dependencies
11. Advanced Styling Controls – Customize the maintenance / coming soon page background colors, header and body text colors, and fully control the message box color and opacity, with a one-click Reset Style Settings button to restore defaults.
🌟 Like our plugin? Find it useful? Please consider sharing your experience by leaving a review on WordPress.org. Your feedback is instrumental to shaping our future growth!
CLI commands
wp beckin-mm enable
wp beckin-mm disable
wp beckin-mm status
