Linux 软件免费装

Maintenance mode by Juraj Hamara

开发者 jurajj
更新时间 2026年7月29日 00:34
捐献地址: 去捐款
PHP版本: 5.6.20 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

maintenance under construction maintenance mode maintenance page 503

下载

1.0.0 1.0.1 1.0.2 1.2.0

详情介绍:

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 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.

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install it directly from the Plugins screen in your WordPress admin.
  2. Activate the plugin through the Plugins screen. Maintenance mode is now on.
  3. To end maintenance, click the red notice in the admin bar, which deactivates the plugin.

常见问题:

Who can still see the site while maintenance is on?

Logged in users who can manage content (editors and administrators) see the site normally. Everyone else, including logged out visitors and bots, sees the maintenance notice.

How do I turn maintenance off?

Click the red "maintenance" notice in the admin bar, or deactivate the plugin from the Plugins screen.

Will search engines index my maintenance page?

No. The maintenance screen returns a 503 status with a Retry-After header, which search engines treat as a temporary, non indexable state.

I use a caching plugin. Do visitors still see the maintenance page?

The plugin clears the cache of the common caching plugins when maintenance is switched on or off. If you use a server level cache (Nginx FastCGI, Varnish, Cloudflare), clear it separately after enabling maintenance.

更新日志:

1.2.0 1.0.2 1.0.1 1.0.0