Coming Soon and Maintenance mode

Estimated reading time: 4 min

Rey does not ship its own coming soon or maintenance mode, and it does not need to: WooCommerce has one built in, and Rey is set up to work with it. You will find it under WooCommerce → Settings → Site visibility, and it needs no plugin at all.

This article covers how to use it, how it behaves on a Rey site specifically, and the one thing Rey changes automatically while it is switched on.

Note: Site visibility arrived in WooCommerce 9.1. On an older version the tab is not there, and updating WooCommerce is the fix.

The two states

The screen offers a straight choice:

  • Live: the site is visible to everyone. This is the normal state.
  • Coming soon: visitors get a landing page instead of the site.

Choosing Coming soon reveals two further options.

The WooCommerce Site visibility screen with Coming soon selected, so both the Apply to store pages only and Share your site with a private link checkboxes are on screen. A full-width shot of the settings panel.

Apply to store pages only

With this ticked, only the shop is hidden and the rest of the site stays open. Useful when the content site is finished and the store is not, or when you are rebuilding the catalogue on a site that already gets traffic.

WooCommerce counts these as store pages:

  • the Shop page and the product archive
  • single product pages
  • product category, tag and attribute archives
  • Cart, Checkout and the Terms and conditions page

The My account page is not on that list, so it stays reachable while the rest of the store is hidden. If customers must not reach it either, hide the whole site instead of ticking this box.

This generates a link carrying a secret key, which you can send to a client or a colleague. Opening it once lets that person through the coming soon page and stores a cookie so they stay through for the next 90 days, without an account and without logging in.

It is the right way to show work in progress. Turning Live on for ten minutes so somebody can look is not, because anything can be indexed in those ten minutes.

You will not see the coming soon page yourself

This is the single most common report, and it is not a fault. Anyone who can manage the store, administrators and shop managers, always gets the real site. If you could not, you would have to switch the site Live every time you wanted to look at your own work.

To see what a visitor sees, open the site in a private or incognito window, or in a browser where you are not logged in. So that the state is never a guess, WooCommerce puts a badge in the admin bar reading Live, Coming soon or Store coming soon, and clicking it goes straight back to this screen.

A close crop of the admin bar on the front end with the Coming soon badge visible next to the site name. A small, wide crop is enough, the badge is the whole point.

How it renders with Rey

The two modes look different on a Rey site, and this catches people out:

  • Whole site hidden: the landing page is rendered on its own. Rey’s header and footer are not printed, so what visitors get is the block template and nothing else.
  • Store pages only: the page is wrapped in Rey’s own header and footer, so the site’s navigation stays around the message. This is usually what you want, since visitors can still browse the rest of the site.

What Rey changes while Coming soon is on

Rey has a performance option called Disable WordPress Block Styles, in Theme Settings → General → Performance. It removes the stylesheet WordPress ships for its blocks, which most Rey sites never need because they are built with Elementor.

The coming soon page is made of those very blocks. So whenever WooCommerce’s Coming soon is switched on, Rey suspends that optimisation by itself and loads the block styles again. Without it the landing page would arrive unstyled, and there is no setting to get wrong.

Tip: One consequence worth knowing: while the site is in Coming soon, your pages carry block CSS they will not carry once you go Live. Do not benchmark page speed in this state, the numbers will be worse than the real ones. The optimisation resumes the moment you switch back to Live.

Coming soon is not a maintenance mode

The two get asked about together, and they are not the same thing.

Coming soon is a launch state: a site that has not opened yet, answering normally with a landing page, meant to stay that way for days or weeks. A real maintenance mode is a temporary state, meant for a short window during an update, and it answers with an HTTP 503 that tells search engines to come back later rather than to record what they found.

For pre-launch, and for hiding a store while you stock it, Site visibility is the right tool. For a fifteen-minute window during a migration, use a dedicated maintenance plugin, or your host’s maintenance mode if it has one.

When something does not work

  • Visitors still see the site after switching to Coming soon. A page cache is serving pages built before the switch. Clear the cache in your caching plugin and at your CDN. WooCommerce asks for a short cache lifetime on the landing page itself, but it cannot clear what was cached earlier.
  • The coming soon page still shows after going Live. Same cause in reverse. Purge the page cache and the CDN after every switch, in both directions.
  • It does not seem to apply to you. Expected. Administrators and shop managers always see the real site. Check in a private window.
  • The landing page has no styling. Something else is stripping the block stylesheet. Rey stops doing so automatically, so look at an optimisation plugin that removes unused CSS, and exclude the coming soon page from it.
  • Part of the shop is still reachable in store-pages-only mode. Check the page against the list above. My account is not treated as a store page, and neither is a normal page that happens to contain a product widget, since gating is decided by the page type and not by what is on it.
  • There is no Site visibility tab. WooCommerce is older than 9.1. See Updating best practices.

Was this article helpful?