| 开发者 | lorenzof |
|---|---|
| 更新时间 | 2026年10月30日 18:09 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Retry-After header, which is the correct signal for search engines during a temporary maintenance.theme.json or $content_width, with a fallback) or full width.sitemap.xml, sitemap_index.xml or wp-sitemap.xml) also answer 503, so the list of your URLs is not published during maintenance. robots.txt is served normally, so search engines keep crawling and see that the pause is temporary./wp-json/wp/v2/...) to visitors who are not signed in. Signed-in users and application passwords keep working.acw-maintenance-mode-by-page folder to /wp-content/plugins/, or install the plugin from the WordPress dashboard.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.
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.
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.
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".
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.
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.
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.
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.
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.