When a shop is being renovated, the owner puts up a "Closed for renovation" board instead of letting customers walk into the mess. Maintenance mode is the same board for your website. It shows visitors a short notice while you update or fix things behind the scenes.
What is Maintenance Mode in WordPress?
Maintenance mode is a temporary state where regular visitors see a simple message instead of your normal pages. It is useful when you are switching themes, testing a redesign or fixing a broken page.
A proper maintenance page also sends a 503 Service Unavailable status code. This tells search engines that the downtime is temporary, so they should come back later instead of dropping your pages.
The built-in maintenance mode
Yes, WordPress already has a basic maintenance mode. Whenever you update WordPress core, a plugin or a theme, it creates a hidden file named .maintenance in your root folder. Visitors then see the message "Briefly unavailable for scheduled maintenance. Check back in a minute."
Once the update finishes, WordPress deletes the file on its own, and your site returns to normal.
How to put your site in maintenance mode
For planned work, a plugin is the easiest way. Here are the usual steps:
- First, install a maintenance mode or "coming soon" plugin from the Plugins menu.
- Next, open the plugin's settings and write a short message with an expected return time.
- Now, switch maintenance mode on. Most plugins still let logged-in Administrators see the normal site.
- Finally, switch it off as soon as your work is done.
For other methods, including one that works without a plugin, read our guide on how to activate maintenance mode in WordPress.
Keep the downtime short. A maintenance page that stays up for days can confuse visitors and hurt your search traffic.
If an update fails and your site gets stuck on the maintenance message, connect via FTP and delete the .maintenance file from the root folder. Our guide on fixing the "Briefly unavailable for scheduled maintenance" error explains this in detail.
Maintenance mode keeps visitors informed and search engines patient while you work. That's all about maintenance mode. If you have any questions, post them in the comment section below.