How to Switch On Maintenance Mode in WordPress

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 website will be down for quite a while, you can use a Plugin that allows you to customize a maintenance 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 won’t have the ability to put your logo on it or customize some components. 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 have to do is go to Settings > Coming Soon Pro. In cases like this, we will utilize Maintenance Mode.

After clicking on”Save All Changes”, hit the”Edit Coming Soon/Maintenance Page” button at which it will direct you to a webpage full of this plugin’s templates that are readymade.

After selecting a theme for your care page, you can now customize by adding your logo, changing the background, colors, add contact forms, and more. This plugin also features an email marketing integration feature where you can put up a signup form for your readers so that they can stay updated.

Be the first to comment

Leave a Reply

Your email address will not be published.