CorefinityCorefinityDocs
Open the Control PanelControl Panel
Create and manage · 6 of 7

Show visitors a maintenance page while you work on a site, then turn it off again.

On this page

Before you start

  • You can open the site in Managed Websites. Anyone who can open a site can turn its maintenance mode on and off.
  • Each environment has its own switch: choose Production or Staging in the site header first.
  • The switch is greyed out while the site is being created, while a backup is being restored and while another change is in progress.

Turn maintenance on

  1. Turn on the switch

    Go to Managed Websites, choose the site, then turn on the Maintenance switch at the top right of the site header. It reads Off.

  2. Confirm

    The dialog names the page visitors will see, with a Preview, and says who still sees the site. Choose Turn on maintenance.

The switch reads On straight away, and a banner in the site header says since when visitors have seen the maintenance page. Search engines get a 503 with Retry-After, so a short break does not affect rankings.

To change the page visitors see, see Error pages. To choose which addresses still see the site, see Firewall.

Turn maintenance off

  1. Turn off the switch

    Turn off the Maintenance switch, or choose Turn maintenance off in the banner. There is no dialog.

Visitors see the site again straight away.

Automate this

Maintenance mode

Switches the site's maintenance mode on or off and checks the site afterwards.

POST/api/corestack/sites/{site}/maintenance
curl -X POST https://manage.corefinity.com/api/corestack/sites/1042/maintenance \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true
  }'
Was this helpful?
Open in ClaudeOpen in ChatGPT