11.2. Enabling and Disabling Maintenance Mode

Last updated on
14 April 2025

Goal

Put your site in maintenance mode to allow users with the right permissions to use the site while users without this permission are presented with a message that the site is under maintenance.

Steps

Enabling maintenance mode

  1. In the Manage administrative menu, navigate to Configuration > Development > Maintenance mode (admin/config/development/maintenance). The Maintenance mode page appears.
  2. Fill in the fields as shown below.

    Field name Explanation Value

    Put site into maintenance mode

    Enable the maintenance mode

    Checked

    Message to display when in maintenance mode

    The information that is shown to website visitors when the mode is enabled. Variables such as @site can be used in the message

    @site is currently under maintenance but should be back shortly. Thank you for your patience.

  3. Click Save configuration.
  4. Verify that the site is in maintenance mode by accessing it from another browser where you aren’t logged in. If you are not able to verify, try clearing the cache. See Bagian 12.2, “Clearing the Cache”.

    Maintenance mode enabled

Disabling maintenance mode

  1. In the Manage administrative menu, navigate to Configuration > Development > Maintenance mode (admin/config/development/maintenance). The Maintenance mode page appears.
  2. Fill in the fields as shown below.

    Field name Explanation Value

    Put site into maintenance mode

    Disable the maintenance mode

    Unchecked

    Message to display when in maintenance mode

    No message required while disabling. You can leave the field blank.

  3. Click Save configuration.
  4. Verify that the site is no longer in maintenance mode by accessing it from another browser where you aren’t logged in. If you are not able to verify, try clearing the cache. See Bagian 12.2, “Clearing the Cache”.

    Maintenance mode disabled

 

This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.

Source file: extend-maintenance.asciidoc

Help improve this page

Page status: No known problems

You can: