--- label: 'Enabling and disabling maintenance mode' related: - core.maintenance - system.cache --- {% set maintenance_url = render_var(url('system.site_maintenance_mode')) %} {% set cache_help = render_var(url('help.help_topic', {'id': 'system.cache'})) %}

{% trans %}Goal{% endtrans %}

{% trans %}Put your site in maintenance mode to perform maintenance operations, and then return to normal mode when finished.{% endtrans %}

{% trans %}What is maintenance mode?{% endtrans %}

{% trans %}When your site is in maintenance mode, most site visitors will see a simple maintenance mode message page, rather than being able to use the full functionality of the site. Users with Use the site in maintenance mode permission who are already logged in will be able to use the full site, and the log in page at /user will also be accessible to anyone.{% endtrans %}

{% trans %}Steps{% endtrans %}

  1. {% trans %}In the Manage administrative menu, navigate to Configuration > Development > Maintenance mode.{% endtrans %}
  2. {% trans %}Check Put site into maintenance mode, optionally change the Message to display when in maintenance mode, and click Save configuration. Your site will be in maintenance mode.{% endtrans %}
  3. {% trans %}Perform your maintenance operations.{% endtrans %}
  4. {% trans %}In the Manage administrative menu, navigate to Configuration > Development > Maintenance mode.{% endtrans %}
  5. {% trans %}Uncheck Put site into maintenance mode and click Save configuration. Your site will be back in normal operation mode.{% endtrans %}
  6. {% trans %}Clear the site cache. See Clearing the site cache for instructions.{% endtrans %}