| 开发者 | amitry |
|---|---|
| 更新时间 | 2026年9月27日 20:26 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
ammode_register_templates - Register additional templatesammode_should_show_maintenance - Override the show-or-not decisionammode_render_html - Filter the final HTML outputammode_head_meta - Replace the head meta block (used by Pro SEO)ammode_settings_schema - Add your own settings fieldsAMMODE_HOOK_VERSION on activation to ensure compatibility.
Compatibility
/wp-content/plugins/ and unzip, OR upload via Plugins -> Add New -> Upload PluginYes. You can try the plugin, including every template and the real-time preview, at maintenance.amitry.de. No WordPress install or signup required. Switch between the coming soon and under construction templates and watch the preview update.
Yes. Pick the Coming Soon template in the setup wizard, add your headline and a short message, and visitors see a polished coming soon page while you build the rest of the site behind it. Administrators keep full access to the live site as normal.
Yes. The plugin renders its own standalone HTML page when maintenance is active, completely independent of your theme or page builder. When maintenance is off, your normal WooCommerce shop, Elementor pages, and block-editor content work as usual. You can also exclude specific pages from maintenance, so for example your shop checkout could stay live while the rest of the site is in maintenance.
No, not if you use the default settings. The plugin sends a 503 Service Unavailable HTTP status code along with a Retry-After header. This tells Google and other search engines that the downtime is temporary and they should not deindex your content. The page also defaults to noindex, nofollow on the robots meta tag.
This is the WordPress-recommended way to handle maintenance and is much safer than just showing a static page with 200 OK status.
Go to Maintenance -> Excluded Pages in the admin. You can:
/feed, /shop/*, /api)The free version supports basic HTML in the description (strong, em, a, br tags). For full custom CSS and JavaScript, you can use the Pro add-on or hook into ammode_render_html and ammode_head_meta from a custom plugin.
The plugin auto-flushes the major cache plugins when you toggle maintenance on or off, and when you change visible settings. Supported: W3 Total Cache, WP Super Cache, WP Rocket, LiteSpeed Cache, SG Optimizer (SiteGround), Cache Enabler, Comet Cache, Hummingbird, and Autoptimize. The maintenance page itself also sends Cache-Control: no-cache, no-store, must-revalidate headers so browsers and CDNs do not cache it.
You should not be able to lock yourself out, because administrators always bypass the maintenance page. This is hardcoded and cannot be turned off, exactly to prevent this scenario.
If for some reason you still cannot reach the admin, you can disable the plugin via FTP: rename the wp-content/plugins/amitry-maintenance-mode/ folder to anything else (e.g. amitry-maintenance-mode-off) and WordPress will automatically deactivate it.
By default, only administrators bypass the maintenance page. You can configure additional roles (Editor, Author, Contributor, Subscriber, custom roles) to also bypass it under Maintenance -> Access. Administrators always bypass, even if you accidentally remove the role from the list. This is a deliberate lockout protection.
No tracking. No external calls. No analytics. No cookies set by the plugin itself. The plugin runs entirely on your own server. No data leaves your site. All assets (CSS, JavaScript, images) are served from your own domain. If you enable Google Analytics in the Pro add-on, that is the only optional integration that talks to a third party, and it is fully under your control.
Deactivate and delete the plugin via the Plugins screen. The uninstall script removes all settings from wp_options automatically. No leftover data, no orphan database entries.
Go to Maintenance -> Settings and look for the "Setup" card in the right sidebar. Click "Run setup wizard" to walk through it again.