Directory / plugin

ACW Maintenance Mode by Page

v1.2.0 · by Lorenzo Fracassi

Put your site in maintenance mode using one of your existing pages. No templates, no page builder: pick a page and you are done.

View on WordPress.org

About this plugin

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:

  • Logged-out visitors who open any URL are redirected to the selected page.
  • You choose which user roles keep browsing the whole site and using the dashboard (administrators always can). Users with other roles, such as subscribers or customers, see the maintenance page like visitors.
  • Front-end login, registration and lost password pages (e.g. Paid Memberships Pro) are detected and stay reachable. You can add other pages that must stay reachable, such as an account page.
  • The maintenance page is served with an HTTP 503 Service Unavailable status and a Retry-After header, which is the correct signal for search engines during a temporary maintenance.
  • The page is displayed with a minimal template (content only, without the theme header, footer and menu). Choose the content width: default (inherited from the theme via theme.json or $content_width, with a fallback) or full width.
  • XML sitemaps (such as 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.
  • Optional, for staging sites and sites not online yet: do not load tracking codes (Google Analytics, Tag Manager, Facebook Pixel, cookie banner…) on the maintenance page. Styles and the scripts of WordPress, of the theme and of the blocks used in the page stay.
  • Optional: hide pages, posts and other content from the REST API (/wp-json/wp/v2/...) to visitors who are not signed in. Signed-in users and application passwords keep working.
  • The login page and AJAX remain reachable, so you can always sign in and turn the mode off.
  • If the selected page is deleted, unpublished or password-protected, visitors get a generic 503 maintenance message (never a redirect loop) and administrators see a warning.
  • Saving the settings purges the cache of SiteGround Speed Optimizer, WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache and WP Fastest Cache.

No complex configuration required: one checkbox to enable it and one dropdown to pick the page.

Plugin tags