[WordPress] 外掛分享: Maintenance mode by Juraj Hamara

首頁外掛目錄 › Maintenance mode by Juraj Hamara
10+
安裝啟用
尚無評分
3 天前
最後更新
問題解決
WordPress 4.8+ PHP 5.6.20+ v1.2.0 上架:2024-03-29

內容簡介

這是一個輕量級的 WordPress 維護模式外掛。啟用後,網站將顯示簡單的維護通知,未登入的訪客無法訪問內容,而已登入的管理者則可繼續使用網站。此外掛設計簡約,無需額外設定。

【主要功能】
• 啟用維護模式,顯示簡單通知
• 登入用戶可繼續訪問網站內容
• 自動清除常見快取外掛的快取
• 支援經典及區塊佈景主題
• 返回正確的 HTTP 503 狀態碼
• 防止垃圾留言及回應提交

外掛標籤

開發者團隊

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

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

原文外掛簡介

A lightweight Maintenance Mode plugin for WordPress.
Activate the plugin to switch your site into maintenance mode. Visitors see a simple maintenance notice, while logged in users who can manage content keep full access to the site. A red notice appears in the admin bar to remind you that maintenance is active, and clicking it ends maintenance again.
The plugin is intentionally minimal: there are no settings pages, no builders and no external assets. It just works after install and activation.
What it covers

Classic and block (FSE) themes
The REST API
Feeds and sitemaps
Comment and pingback submissions, so spam bots cannot post while the site is under maintenance

SEO friendly
The maintenance screen returns a proper HTTP 503 Service Unavailable status together with a Retry-After header. This tells search engines the state is temporary, so they do not index the maintenance page.
Caching aware
A no-cache header is sent with the maintenance screen, and when maintenance is switched on or off the plugin clears the cache of the common caching plugins (WP Rocket, LiteSpeed, W3 Total Cache, WP Super Cache, WP Fastest Cache). Server level caches such as Nginx FastCGI, Varnish or Cloudflare must still be cleared separately.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon