How to Put WordPress in Maintenance Mode (With or Without a Plugin)

Share

When you update or redesign WordPress, visitors may briefly see errors, a half-built page or WordPress’s own “Briefly unavailable for scheduled maintenance” message. A friendlier, more professional way is a WordPress maintenance mode page that tells visitors you’ll be back soon, while you keep full access as an admin. Here’s how to turn it on in 2026, with or without a plugin, and without hurting your search rankings.

WordPress maintenance mode

Quick answer: Install a maintenance mode plugin such as Maintenance, SeedProd or LightStart, design a short message, and switch it on. Logged-in admins still see the site, and good plugins send a 503 “Service Unavailable” status with a Retry-After header so Google waits rather than indexing the notice. Keep it on only for hours, not days. For a quick no-plugin option, add a small wp_die() snippet that shows a message to logged-out visitors.

When to use maintenance mode

  • Big updates to WordPress, your theme or key plugins.
  • A redesign or a theme switch.
  • Moving hosts or restoring a backup.
  • Fixing a broken site.

Routine minor updates take seconds; WordPress shows its own short maintenance message automatically. If that message gets stuck, here’s how to fix “briefly unavailable for scheduled maintenance”.

Method 1: A maintenance mode plugin

The plugin that this post recommended in 2007 is long gone, but the idea is the same: a splash page for visitors, full access for admins. Write a short message such as “We’re making improvements and will be back in about an hour”, add your logo and a contact or social link.

Method 2: A small code snippet

Add this with a code snippets plugin (or your child theme’s functions.php), and remove it when you’re done:

add_action( 'template_redirect', function () {
    if ( ! current_user_can( 'edit_themes' ) ) {
        header( 'Retry-After: 3600' );
        wp_die( 'We are updating the site. Please check back in an hour.', 'Maintenance', array( 'response' => 503 ) );
    }
} );

Logged-in admins see the site normally; everyone else gets the message with a 503 status.

Method 3: A temporary index page

This was our own trick. QuickOnlineTips runs WordPress in a subfolder, so during big upgrades I uploaded a simple index.html notice to the site root, then deleted it when finished. It works for any site whose front page lives outside WordPress, but returns a 200 status, so keep it short.

Maintenance mode and SEO

  • Use a 503 status, not 200, so search engines know it’s temporary.
  • Add Retry-After so crawlers come back later.
  • Keep downtime short; a site in maintenance for days can start losing rankings.
  • Better still, make big changes on a staging site and push them live in minutes.

Before any big change, take a backup: here’s how to backup and restore your WordPress database.

FAQ

Does maintenance mode hurt SEO?

Not if it’s short and returns a 503 status. Long downtime or a 200 status can cause problems.

Can I see my site while maintenance mode is on?

Yes. Logged-in administrators see the normal site.

What is the difference between coming soon and maintenance mode?

Coming soon is for sites that haven’t launched; maintenance mode is a short pause for an existing site.

Found this useful? Share it with someone who needs it.

Did you like this post? Help us improve it

Want to tell us more? Contact us

100 Tech Terms ebook cover

Subscribe to our weekly tech newsletter

Free: 100 Tech Terms ebook (worth $2.99)

Unsubscribe anytime. Privacy

Related Tech Guides

Leave a Reply

Your email address will not be published. Required fields are marked *

3 Comments

  1. I encourage everybody to support artists who create bicycle art and all forms of art made from salvaging the things people throw away. Thanks :)

  2. Or you can use this theme to set the website under maintainance mode. Features a twitter feed and a javascript clock

    https://differentpixel.com/

  3. Or you can use InstantUpgrade and ugrade in 3 minutos …. I upgraded 3 blogs today in seconds …