- Maintenance mode displays a temporary page while you work on your WordPress site and prevents errors from being seen.
- It is recommended to activate it during large updates, design changes, migrations, and troubleshooting.
- You can configure it with plugins, from the hosting panel, with code in functions.php, or using .htaccess and WP-CLI.
- In WooCommerce stores and critical websites, it is advisable to plan maintenance well or delegate it to professional services.
If you make a mistake on your website and something delicate suddenly breaks, the last thing you want is for your visitors to see errors everywhere. That's where WordPress maintenance mode comes in : a simple way to display a clean message while you work quietly behind the scenes.
Furthermore, when you make significant changes (updates, migrations, redesigns, technical testing, etc.), especially if they will require corrective software maintenance , activating a well-configured maintenance mode protects your brand image, improves user experience, and prevents SEO issues . Let's take a detailed look at what it is, when to use it, and all the ways to configure it, with and without plugins, so you can choose the one that best suits your needs.
What exactly is maintenance mode in WordPress?
When we talk about maintenance mode in WordPress, we mean displaying a temporary static page that notifies users that tasks are being performed on the website, instead of letting the visitor encounter 500 errors, blank screens, or half-built sections.
This page typically includes text such as "We're working on the website," a brief explanation, and, in many cases, extra elements like a progress bar, social media links, or a form so that visitors don't leave empty-handed. The idea is very simple: the website isn't accessible to the general public, but you can continue working normally while logged in as an administrator.
Internally, WordPress has its own automatic maintenance system. When you update the core, a hidden file called .maintenance is created in the root directory of your installation, and the wp_maintenance() function is executed . During this time, visitors see a very basic notification that the site is temporarily undergoing maintenance, and as soon as the update is complete, the file is automatically deleted and the website returns to normal.
That native message is quite ugly and not very customizable, so most professional websites opt to set up their own maintenance mode with plugins, code, or even from the hosting panel, to control the design, text, and behavior of the page.
When is it worth activating maintenance mode in WordPress?
There's no need to exaggerate: you don't need to activate maintenance mode every time you upload a post or change a sentence on the contact page . For minor tweaks, it's not worth cutting off access to the entire website.
However, it is advisable to enable it in all those situations where there is a real risk that the website will break, become incomplete, or display content very different from what it should . Some typical examples:
- WordPress core updateEspecially if you're upgrading to a major version. Incompatibilities with the theme or plugins can arise, potentially rendering the website unavailable for a while.
- Bulk update of plugins or themesIf you update several at once, it's relatively common to encounter errors (white screen, PHP errors, extension conflicts, etc.). It's best to make these changes with maintenance mode active.
- Structural or design changesThis involves a complete overhaul of the menu, creating or redoing key pages, changing the theme, or redesigning the layout with a visual builder. During testing, it's best to avoid letting users see this half-finished "Frankenstein" project.
- Installation or configuration of important new featuresFor example, a new booking plugin, a membership system, or a visual builder that affects many pages. Until you've verified that everything is stable, it's best to keep the site closed to the public.
- Hosting migrations or server changesEspecially on large websites, membership sites, or online stores. Maintenance mode prevents orders from being placed or data changes being made while the website is being moved from one server to another.
- Website under development or relaunchIf you're setting up a new website on an already public domain, ideally users should see a "under construction" or "coming soon" page until launch day.
- Troubleshooting serious problems or errorsIf there are significant display issues, bugs affecting navigation, or security problems, activating maintenance mode gives you time to fix them without visitors experiencing the broken version.
Think of your website like a physical store: if you're going to change the flooring, paint the walls, or knock down a partition, you close for a couple of days and put up a "closed for renovations" sign . It works the same way online: you give notice, provide an explanation, and take care of that first impression so the user wants to come back.
Advantages of using maintenance mode: users, brand and SEO
From a user experience perspective, maintenance mode is key. The first visit from someone who's just discovered you makes a huge impact . If they land and see a website down, a 500 error, or a broken design, they probably won't come back.
However, if you come across a clean page that explains you're working on improvements, indicates an approximate timeframe, or provides a way to contact you , the feeling changes completely. Instead of "this website is broken," you get the sense that "these people care about their site and are improving it."
From a branding perspective, a good maintenance mode allows you to reinforce your visual identity and tone . You can include your logo, corporate colors, social media links, even a brief value proposition and a contact or subscription form to ensure you don't miss the opportunity to capture that lead.
And regarding search engine ranking, while Google understands occasional maintenance, continuously displaying technical errors can negatively impact SEO . A well-designed maintenance page:
- Prevent Google from indexing broken content or incomplete pages.
- You can successfully return a 503 code (service temporarily unavailable), which tells the robot to come back later.
- It helps protect your CTR and brand perception in search results.
Furthermore, let's be practical: working in active maintenance mode reduces your stress . You know that people aren't seeing half-finished changes, and you can proceed step by step, testing, undoing, restoring backups… with much greater peace of mind.
Plugins to put WordPress in maintenance mode
The most popular (and easiest) way to activate maintenance mode is through plugins. The official repository offers several free options that allow you to display a custom page without writing a single line of code.
Most of them work with the same logic: you continue to see the normal website if you are logged in with sufficient permissions, and the rest of the visitors see the maintenance page that you have configured, with your text, your images and the extras that you want to activate.
Maintenance: simple and effective
The Maintenance plugin is one of the most popular precisely because of its simplicity. Its interface is reduced to practically a single screen with a switch to turn maintenance mode on or off and a few basic design settings.
Once installed and activated, access the “Maintenance” menu in your WordPress dashboard and you'll see an ON/OFF switch . When it's ON, everyone without dashboard access will see the maintenance page; those who can access the admin area will continue to see the website normally.
Within the “Content” section you can customize:
- Page Title: what appears in the browser tab.
- Sensitive Personal Data: the main title of the message.
- Description: the main text that your visitors will see.
- Footer text: a short text for the footer (e.g., copyright or an additional notice).
Simply switch the toggle to ON and save the changes . If you use caching systems (Varnish, caching plugins, etc.), you may need to clear them to see the change applied.
WP Maintenance and other customizable plugins
If you're looking for something a bit more visually comprehensive, there are other very interesting options. WP Maintenance , for example, allows for in-depth customization of your maintenance page:
- Edit title and text.
- Modify the CSS to adjust styles to the millimeter.
- Add header and background images.
- Include a countdown to show when the website will be back up.
- Link your social media.
- Adjust SEO elements such as the title and meta description of the maintenance page.
It's ideal if you want to project a more polished and professional image , although it requires a bit more setup time, especially if you want to manually customize styles. However, in many cases the interface isn't translated into Spanish, which is something to keep in mind.
Other popular plugins you might consider are:
- Under ConstructionVery intuitive, with several pre-designed templates (some free and some paid). It allows you to display social media icons, a login button, integrate with Google Analytics, and even restrict access by IP address or password in the premium version.
- Web maintenanceExtremely simple, ideal if you rarely use maintenance mode. It includes several pre-designed templates and lets you change the message and add your Analytics ID.
- Website Builder by SeedProdIt started as a maintenance plugin and a "coming soon" feature, but today it's a true visual builder. It allows you to create maintenance pages with drag and drop, using beautifully designed templates, and even as a page builder for your entire website.
If you just need something quick and easy, you can use Maintenance or Website Maintenance . If you prefer a more polished and reusable website, you'll benefit from using WP Maintenance, Under Construction, or SeedProd.
WP Maintenance Mode / LightStart: advanced maintenance with extras
Another very popular plugin family is WP Maintenance Mode (also known in recent versions as LightStart). In addition to the usual features, it adds some rather interesting extras.
Once installed, in Settings > LightStart or Settings > WP Maintenance Mode you will find several tabs:
- GeneralHere you activate or deactivate maintenance mode, choose whether you want to block indexing of that page, configure which roles have access to the website even when the mode is active, and which URLs are excluded.
- Design: section to customize texts, images, colors and basic layout of the maintenance page.
- SolutionsIt allows you to add a counter, subscription forms, links to social networks or contact information, all integrated into the page itself.
- Manage Bot: optional module that activates a kind of chatbot that converses with the user and can help collect emails or resolve simple doubts while the website is closed.
- GDPR: specific section to configure the legal texts and privacy acceptance if you are collecting data (emails, forms, etc.) from the maintenance page itself.
This type of plugin is perfect if you're going to have your website closed for several hours or days and want to take advantage of the opportunity to continue capturing leads or maintain some interaction with your users while you work.
Activate maintenance mode from the hosting panel
If you have your WordPress installed through a panel like Plesk or some providers' own managers, it's very possible that you can activate maintenance mode without even touching WordPress.
On many hosting providers, you can access the WordPress or WordPress Toolkit section from your client area and find a switch to activate or deactivate maintenance for each installation. This is an extremely convenient option if you manage multiple websites or if you can't even access the WordPress dashboard due to an error.
In addition, these hosting systems usually include a small layer of customization:
- Restrict access to the administration panel (although it's not usually recommended if you need to log in to make changes).
- Choose a template or background image different for the maintenance page.
- Setup title, main text and secondary texts that will be shown to the visitor.
- Add a with a timer with a countdown if you have a clear reopening date.
- Link up to three social media (usually Facebook, Twitter and/or Instagram).
The main advantage is that you don't depend on WordPress functioning correctly . Even if a plugin has rendered it unusable, you can display a neutral page while you fix the installation or restore from a backup.
How to put WordPress in maintenance mode with code
If you prefer to avoid plugins and keep your installation as lightweight as possible, you can also activate maintenance mode by writing a few lines of code . This requires a bit more care, but in the long run, it's a very stable solution.
Maintenance mode via functions.php
A classic option is to leverage your theme's functions.php file (ideally, a child theme) to intercept public access and display a custom maintenance message.
The flow would be more or less like this:
- Access Appearance > Theme Editor (or via the hosting file manager/FTP).
- You open the file functions.php of the active theme or the child theme.
- You make a backup from the file before touching anything.
- At the end, you add a function that checks if the user is logged in and has permissions to edit themes. If they don't, they are shown a maintenance page.
A typical implementation example checks if the user is an administrator and, if not, calls `wp_die()` with simple HTML and sets the response code to 503 , indicating that the service is temporarily unavailable. You can even include an image or style the message with inline CSS.
When you want to deactivate maintenance mode, simply delete the added code or comment it out to stop it from running. It's important to remember this step, because if you forget to remove it, the website will remain closed to the public indefinitely.
Create a maintenance page with your visual builder
If you use a page builder like Elementor, Divi, Visual Composer or similar, you have another alternative without specific maintenance plugins: create a "maintenance" page with your own design and set it as the homepage.
The typical process would be:
- You create a new page in WordPress using your usual builder.
- You design a simple layout: logo, headline explaining what you are doing, a short text, maybe links to networks and a form.
- Go to Settings > Reading and select “A static page” as the home page, by choosing this new page.
- Optionally, you can check the box “Request search engines not to index this site” while maintenance is underway, to prevent Google from indexing that temporary page.
It's a very flexible solution in terms of design, although it's advisable that, when finished, you remember to put the corresponding page back as your homepage and, if you had already done so, reactivate search engine indexing.
Maintenance mode with .htaccess and an HTML page
If you're comfortable with server configuration and want something even more independent of WordPress, you can set up maintenance mode at the Apache level using the .htaccess file and a static HTML page.
The idea is the following:
- In the root directory of the website, you create a file, for example maintenance.html, with the HTML of the page you want to display: an h2 with the main message, a short text, basic inline styles and, if you want, contact information.
- In the .htaccess file, you add rewrite rules that redirect all requests to that file, except for the maintenance URL and the IP address you use to continue viewing the real website.
The rule pattern typically includes:
- An RewriteCond so that the redirection is not applied when the request is already to /mantenimiento.html.
- Another RewriteCond that excludes your IP (which you can check with services like “what is my IP”).
- An RewriteRule that sends the user to the maintenance file with a temporary redirect code 302.
This way, all traffic except you will always see the maintenance HTML page , even if WordPress is completely broken. To disable it, simply delete or comment out those lines or restore the original .htaccess file.
Using native maintenance mode with WP-CLI
If your hosting provider offers WP-CLI (the command-line interface for WordPress), you can also activate maintenance mode without accessing the dashboard, directly from SSH; and if you want to automate tasks, check out the Bash scripts and utilities guide.
You would just have to:
- Connect to the server via SSH and enter the WordPress installation directory.
- Run wp maintenance-mode activate to activate maintenance.
- Check the status with wp maintenance-mode status, which will show you a message indicating that the mode is active.
Once you've finished making the changes, run `wp maintenance-mode deactivate` and the website will be accessible again. This is a very practical method if you manage many websites or if the control panel is unresponsive but you still have access via the terminal.
Maintenance mode and WooCommerce: beware of sales
On a corporate website or blog, being in maintenance mode for an hour or two isn't usually a big deal. However, in an online store using WooCommerce, the situation changes considerably , because purchases can't be completed while the website is down.
Therefore, in eCommerce it is advisable to plan maintenance much better:
- Try to do the most delicate tasks during off-peak hours (early morning or off-peak hours).
- Use a maintenance mode that Explain clearly that the store will be available again soon.
- If you can, add a visible contact form or email address so they can write to you if they need something urgent.
- For very big changes, consider working in a store clone In a subdomain, test everything there and then migrate the changes within a short time window with maintenance mode active.
The key is to minimize actual downtime. Even so, with a well-maintained maintenance page, complete with your data and social media links , many customers will understand that you're making improvements and will try again later.
WordPress maintenance services: when to outsource them
If all this sounds a bit like gibberish to you, or you simply don't want to be concerned with updates, backups, and testing, there are professional WordPress maintenance services that take care of all that technical work for you.
These services typically include, at a minimum:
- Regular updates of the WordPress core, plugins, and active theme.
- WooCommerce-specific updates (in plans geared towards online stores) and verification that everything works after each change.
- 24/7 monitoring of the website, with alerts in case of downtime.
- Daily backups for a specified number of days (e.g., 30) and on-demand restoration.
- security scans to detect malware or suspicious behavior.
- Periodic reports with the website status, updates made and possible incidents.
What's typically excluded from these plans are new developments, design changes, advanced performance improvements, or SEO/SEM campaigns , which are handled with separate budgets or blocks of hours. Contractually, they usually operate on a monthly or annual renewal basis with no minimum commitment period , requiring some advance notice if you wish to cancel.
If you manage a website that is critical to your business and you don't have the time (or the desire) to keep track of everything, delegating maintenance can be a very reasonable investment to avoid serious problems and long periods of downtime.
In short, having a well-configured maintenance mode in WordPress allows you to make significant changes without disrupting your users' experience or your online reputation . You can choose simple plugins, more advanced solutions with counters and forms, do it from your hosting control panel, or use code to streamline the installation; the important thing is that, whenever you're going to make a major change, you have a quick way to close the door with a clear and professional message, and that you remember to reopen it when everything is ready.