Put the site in maintenance for deploys or database migrations.
Where: /admin/config → Maintenance Mode toggle.
Effect when on:
- All non-admin routes redirect to a maintenance page with a custom message.
- Admins (role >= 4) can still sign in and use the site (for testing fixes before un-toggling).
- Login is allowed so admins can reach the admin panel.
How to use:
- Toggle maintenance on.
- Customize the message shown to users (usually "We'll be back in N minutes").
- Do your work — deploy code, run migrations, reboot services.
- Verify via your admin session that everything's healthy.
- Toggle maintenance off.
Audit: maintenance on/off is logged with your username and duration.