Linux 软件免费装
Banner图

ACW Maintenance Mode by Page

开发者 lorenzof
更新时间 2026年10月30日 18:09
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

maintenance under construction coming soon maintenance mode 503

下载

1.2.0 1.0.0 1.1.0

详情介绍:

ACW Maintenance Mode by Page lets you put your site into maintenance by showing visitors one single page, chosen from your existing Pages. No dedicated templates and no page builder are required: you design the page with your own theme, then simply select it. When the mode is active: No complex configuration required: one checkbox to enable it and one dropdown to pick the page.

安装:

  1. Upload the acw-maintenance-mode-by-page folder to /wp-content/plugins/, or install the plugin from the WordPress dashboard.
  2. Activate the plugin through the "Plugins" screen.
  3. Go to Settings → Maintenance.
  4. Check "Enable maintenance", choose the page to display and save.

升级注意事项:

1.2.0 New options to keep tracking codes off the maintenance page and to hide content from the REST API. XML sitemaps now answer 503 during maintenance; robots.txt is served normally. 1.1.0 Logged-in users without a content role (e.g. subscribers, customers) now see the maintenance page. Review "Who can browse the site" in Settings → Maintenance.

常见问题:

Do logged-in users see the maintenance page?

It depends on their role. In Settings → Maintenance check the roles that keep browsing the site: by default these are the roles that can write content (Administrator, Editor, Author, Contributor). Users with unchecked roles see the maintenance page and cannot open the dashboard. Administrators always have access.

My site uses a front-end login page. Can users still sign in?

Yes. Login, registration and lost password pages moved to the front end by plugins such as Paid Memberships Pro are detected automatically. Other pages can be kept reachable with the "Pages always reachable" setting.

Visitors still see the normal site after enabling maintenance

A page cache is serving pages saved before maintenance was enabled. The most common caching plugins are purged automatically when you save; with other caches, a CDN or a server cache, purge it manually.

Does the maintenance page show the theme header and footer?

No, only the page content is shown through a minimal template. The theme styles (CSS/fonts) are still loaded, and so are the scripts that plugins add to every page, tracking codes included, unless you check "Tracking codes".

Which settings should I use on a staging site?

Check "Tracking codes", so visits to the maintenance page are not tracked, and "REST API", so the content cannot be read through /wp-json/. On a live site you can leave both unchecked: visits keep being counted and apps or services that read the site through the REST API keep working.

Can I use it on a live site that is already indexed by search engines?

Yes. Every page answers 503 with a Retry-After header, the signal search engines expect for a temporary maintenance, while robots.txt stays reachable. Keep the pause short, though: if the site stays closed for more than a couple of days, search engines may start dropping its pages from their results.

Something in the maintenance page stopped working after checking "Tracking codes"

The option keeps the scripts of WordPress, of the theme and of the blocks used in the page, and removes the others. A form added with a shortcode, for example, may lose its script. Uncheck the option, or keep a specific script with the acwmmbp_keep_script filter.

Is this a security feature for private content?

No. It is a maintenance mode: it blocks browser navigation of the theme-rendered pages. It does not protect direct media file URLs, and the REST API only when you check the "REST API" option. To protect truly private content you need server-level protection.

How do I turn it off if I get locked out?

The login page (wp-login.php) always remains accessible and administrators always have access to the dashboard. Sign in and disable the mode from the settings.

更新日志:

1.2.0 1.1.0 1.0.0