How to Switch On Maintenance Mode in WordPress


Taking care is an essential part of managing your WordPress site. Maintenance helps you keep your site updated and emptiness of mistakes. But, there will be adjustments which you will be making in your site which you ought to notify your readers that your site is currently unavailable. To do so, you are going to have to know how to turn on Maintenance Mode in WordPress. This mode will allow your readers to know that there are large changes to look forward to with your site.

How to Switch On Maintenance Mode in WordPress

So what is considered as big changes that you’ll have to turn your maintenance mode on? Posting new sites or editing small details, or changing your themes and plugins are not counted. Substantial changes are things such as, rebranding your site, installing a plugin that can add a new feature on your site, troubleshooting, or doing changes on a popular post you’ve got. When you do changes such as these, it is much more advisable to take off your website temporarily, instead of letting your readers experience errors or missing pages while they are visiting.

There are lots of ways to set your WordPress website into maintenance mode. We have some examples below.

The Way to Turn on Maintenance Mode in WordPress

Utilization of Code

If your site will be down for a short time, you may just use the default maintenance mode of WordPress. This is so you wouldn’t have to go through the problem of customizing a maintenance mode page for your site.

To try it, go to your dash and select Theme Editor under Look.


After the page loads, find Theme Functions or functions.php


Copy the code that you see within the box and then save it for the meantime. Afterward, go back to the Theme Functions and add this code which puts your WordPress in default maintenance mode at the bottom of the file.

function wp_maintenance_mode() { if (!current_user_can('edit_themes') || !is_user_logged_in()) { wp_die('<h1>Under Maintenance</h1><br />Website under planned maintenance. Please check back later.'); } } add_action('get_header', 'wp_maintenance_mode');

To check if it’s functioning, you have to get logged out of your account and check your site. To deactivate the care mode, simply remove the code that you just added and save the document.

Use of Plugins

If your web site is likely to be down for quite some time, you need to make use of a plug in which lets you customize a care page This method lets you put more information about your upkeep, where they can get updates, or where they can reach out to you in the meantime.

The very first thing You need to do is to search for a maintenance plugin. You can achieve this easily by simply typing”care” from the search bar in the Plugins menu. You have several plugins to choose from. If you just need a simple and easy to use maintenance plugin, you may use Care by WP Maintenance.

Use of Plugins

You also have free plugins like Under Construction by WebFactory Ltd, however, these free plugins also have constraints. You will not have the ability to Place your logo on it or even customize any parts. If you want something that’s fully customizable, then you can use one of the favorite maintenance plugins — Coming Soon Page, Under Construction & Maintenance Mode by SeedProd.

If you are using SeedProd’s plugin, here is how to turn your maintenance mode on:

The first thing you need to do is go to Settings > Coming Shortly Guru. In cases like this, we will utilize Maintenance Mode.

After clicking “Save Changes”, hit on the”Edit Coming Soon/Maintenance Page” button in that it’s going to lead you to your page full of the plug-in’s templates which are ready-made.

This plugin also features a Message Promoting integration attribute Where You Are Able to put a signup form to the readers in order They Can remain upgraded

Leave a Reply

Your email address will not be published.

You May Also Like