skip to Main Content

How to Put Your WordPress Website Into Maintenance Mode (3 Methods)

As a website proprietor, there’ll doubtless be instances when you might want to shut your website down quickly. Perhaps you could have some updates to perform or plugins to check earlier than pushing your website stay. Whatever the rationale, it’s important to know how one can activate WordPress upkeep mode.

Fortunately, there are a number of methods to go about it. The finest one to make use of will depend upon a handful of things. This contains your expertise with enhancing code, your willingness to put in a brand new plugin, and whether or not you’re coping with a couple of website. In any case, there’s a fast and simple answer.

In this submit, we’ll clarify what upkeep mode is and why it’s essential. Then we’ll offer you three strategies you need to use to place your WordPress website into upkeep mode. Let’s get began!

An overview of WordPress upkeep mode

If you’re going to carry out a significant replace in your stay WordPress website, it’s going to be unavailable when you accomplish that. Although not at all times obligatory, it’s normally finest to let your viewers know what’s occurring to keep away from trying unreliable or unprofessional.

That’s the place WordPress upkeep mode is available in. Essentially, it’s a standing that you may set your website to so others know that work is being executed and your content material can be quickly inaccessible. With upkeep mode turned on, customers will see a web page telling them that the location is at present present process building slightly than a damaged web page.

This means, your customers know the location is unavailable for a legit purpose. The splash web page may also allow them to know once they can count on your content material to be again.

Some widespread examples of conditions through which you may need to use WordPress upkeep mode embody:

  • Fixing points along with your website or patching a safety vulnerability
  • Changing your WordPress theme
  • Testing to make sure plugins work
  • Installing or organising new companies
  • Performing miscellaneous updates

It’s price noting that you just don’t essentially have to allow upkeep mode any time you need to make a change to your website. For instance, when you plan to repair a minor bug or replace a plugin or two, it shouldn’t trigger any main interruptions or downtime (particularly when you’ve got a easy website). However, the dimensions and complexity of your website may also affect how long maintenance tasks take.

How to place your WordPress website into upkeep mode (3 strategies)

Now that you just perceive why you may want upkeep mode, let’s have a look at how you need to use it. Below, we’ll focus on three strategies accessible for implementing it.

1. Edit your capabilities.php file

WordPress makes use of the wp_maintenance function to create a .upkeep file, which shows the default upkeep message in your website’s entrance finish. It says that your website is “Briefly unavailable for scheduled maintenance. Check back in a minute”:
The WordPress maintenance mode default message.
This web page shows when your website is present process upkeep with out you really having to show it on. However, it’s not probably the most personable or aesthetically pleasing web page.

Fortunately, you may each manually activate WordPress upkeep mode and customise the message to your liking. One methodology of doing so is enhancing your website’s capabilities.php file.

Note that you need to solely use this methodology when you’re snug working with code and are aware of enhancing your website’s information. Otherwise, you may need to attempt one of many different options beneath. Also, earlier than continuing, bear in mind to make a backup of your site – simply in case.

Once that is executed, you may navigate to the file supervisor of your WordPress hosting account and paste the next code on the backside of your present theme’s capabilities.php file:

// Activate WordPress Maintenance Mode
operate wp_maintenance_mode() {
if (!current_user_can('edit_themes') || !is_user_logged_in()) {
wp_die('<h1>Under Maintenance</h1><br />Website below deliberate upkeep. Please test again later.');
add_action('get_header', 'wp_maintenance_mode');

You can change the fourth line to no matter you need the upkeep mode message to say. When you’re executed, save the file. After you’re completed working in your website, bear in mind to delete this code to take your website out of upkeep mode.

2. Install a WordPress upkeep mode plugin

Another choice you could have for placing your website into upkeep mode is to make use of a plugin. This methodology is beginner-friendly and provides much more flexibility and customization choices than enhancing capabilities.php.

There are a handful of plugins to select from. One of the most well-liked is Coming Soon Page and Maintenance Mode by SeedProd:
The WordPress maintenance mode plugin by SeedProd.
This premium instrument gives a plethora of advantages. In addition to utilizing it to rapidly allow upkeep mode, you may also construct lovely Coming Soon and touchdown pages with it. It’s intuitive, straightforward to make use of, and features a drag-and-drop builder as nicely.

To use it to place your website into upkeep mode, you’ll have to purchase a SeedProd Pro license. Once you put in and activate the Pro plugin, you may activate upkeep mode below SeedProd > Settings.

If you’re on the lookout for a free plugin choice, you may think about using WP Maintenance Mode:
The WP Maintenance Mode WordPress plugin.
While not as feature-rich as SeedProd, it provides a collection of helpful capabilities and instruments to create and allow a visually pleasing upkeep mode web page. Once it’s activated in your website, you need to use it by navigating to Settings > WP Maintenance Mode:
The WP Maintenance Mode plugin settings.
Next, you may change the Status to Activated to activate upkeep mode. You may also customise the web page settings and permissions from right here. When you’re executed, click on on the Save Settings button on the backside.

A draw back to this methodology is that it requires you to put in a plugin in your website. If you could have a number of WordPress installations or need to keep away from the chance of slowing your website down, you may take into account the ultimate choice as a substitute.

3. Use ManageWP’s Maintenance Mode characteristic

A 3rd methodology you need to use – which is right when you’ve got many websites to handle – is our ManageWP Maintenance Mode feature:
The ManageWP Maintenance Mode feature landing page.
If you’re unfamiliar, ManageWP makes it straightforward to monitor and handle all fo your WordPress websites from a single dashboard. You can preserve limitless websites from one place and entry varied free and premium add-ons.

Our free upkeep mode characteristic gives you with two pre-built templates – Website Under Maintenance and Coming Soon:
The ManageWP Maintenance Mode settings screen.
You can activate the Maintenance Mode pages for particular person web sites immediately out of your ManageWP dashboard. Additionally, you may customise which consumer roles Maintenance Mode is seen to (Administrator, Editor, Author, and so on.).

If you’re new to ManageWP, you may sign up for free. Simply enter your e mail and click on on the Sign up button to get began.


When you’re in control of working and managing a website, performing updates and miscellaneous modifications periodically is inevitable. However, in case your website can be unavailable when you’re engaged on it, it’s finest to activate upkeep mode to let your guests know what’s occurring.

In this submit, we mentioned how one can put your WordPress website into upkeep mode utilizing completely different three strategies:

  1. Edit your capabilities.php file with customized code.
  2. Install a WordPress upkeep mode plugin such as SeedProd.
  3. Use ManageWP’s Maintenance Mode characteristic.

Do you could have any questions on placing WordPress into upkeep mode? Let us know within the feedback part beneath!

Image credit score: Pexels.

This Post Has 0 Comments

Leave a Reply

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

Back To Top