Labinator LogoLabinator LogoLabinator LogoLabinator Logo
  • Home
  • About
  • Services
    • WordPress Services
      • WordPress Website Development
      • WordPress Website Security
      • WordPress Speed Optimization
      • WordPress Technical Support
      • WordPress Autopilot (All-In-One)
    • Special Web Services
      • Unique Content Writing
      • Website To App Conversion
      • Free Site Development For NPO
      • Custom Web Development
      • Startup Business Builder
    • App Marketing Services
      • Google Play ASO
      • Android Incentive Advertising
      • Android App Marketing (All-In-One)
    • Digital Marketing Services
      • Technical SEO & Site Auditing
      • Digital Marketing (All-In-One)
  • Blog
  • Contact
  • Resources
    • Free PDF Guides
    • Third-Party Recommendations
Go To WordPress Marketplace
✕

How To Enable Maintenance Mode

19/07/2021
Categories
  • WordPress Tutorials
Tags
  • WordPress Optimization
  • WordPress Security
  • WordPress Tutorial
Maintenance Mode Guide Thumbnail
(Last Updated On: 23/07/2021)

Learn how to enable and activate Maintenance Mode for your WordPress site with and without plugins using this simple guide!

Table of Contents
    Add a header to begin generating the table of contents

    How To Enable Maintenance Mode?

    1. Install Minimal Maintenance Mode from Labinator.
    2. Create a custom page in WordPress.
    3. Go to the page for the plugin under Settings.
    4. Choose the Maintenance Mode type.
    5. Select the page your created for the content.
    6. Save changes and exit the page.

    What is Maintenance Mode?

    maintenance mode page example

    WordPress is one of the best site-creation solutions because it provides all of the features with full control for absolutely free. WordPress offers many stunning features like themes, plugins, an easy-to-use interface, and many other tools. These great features come with a well-coded foundation for your site.

    Another reason that WordPress is the number-one solution for creating a website is that it rarely has problems. However, this does not mean that WordPress is perfect by any means. If you ever run into a technical issue, then one of the best things to do is activating maintenance mode on your site.

    Maintenance mode for WordPress is a mode where your site temporarily shuts down for visitors. Thus allowing you to update your site, solve issues, make substantial adjustments, and other changes to your site. By using maintenance mode, you can polish your site without giving your site visitors an error message.

    WordPress maintenance mode is unnecessary when adding posts, changing links, fixing small bugs, and adding plugins. You should enable maintenance mode only when it is necessary to do so. Enable maintenance mode if you are extensively changing or overhauling your site. It can also be used for re-branding or creating a “coming soon” page.

    Now that you know when and why to use maintenance mode, I can show you how to set it up. There are various ways to enable maintenance mode range from changing code in your theme to using a plugin. This short guide will cover the three main methods for applying and using maintenance mode in WordPress.

    Enable Using a Plugin

    The first and most common way to activate maintenance mode for your WordPress site is using a plugin. Plugins are great because they give you full customizability and optimization when applying maintenance mode. Through the use of a plugin, you can customize everything about your maintenance mode page.Plugins provide you with options to tweak and adjust everything from your font and widgets to the page colors and background. Plugins can also add helpful features such as timers, contact links, email lists, and much more. With the use of a plugin, you can make your site look wondrous while retaining functionality.The best plugin for enabling maintenance mode for your site is undoubtedly Labinator’s Minimal Maintenance Mode. This plugin offers all of the features with an easy to use interface. The plugin is already translation ready, written in secure-code, supports the newest version of PHP, and is fully responsive.Minimal Maintenance Mode provides a simple approach to creating a stunning page without making it complicated. You can set the page for your maintenance mode to an already existing page you have created. So you can create the page you want for your maintenance mode and then set it to the page you created.This plugin also allows you to give access to certain people via a tokened link. This link can be customized and given to anyone you want to let them access the site. The plugin also offers different options for what type of maintenance mode you want. These options will change the type of response the site gives to visitors. To use this plugin, follow the steps below: 
    1. Install and activate the plugin from Labinator.
    2. Create a custom page if you don’t want default content.
    3. Then go to the plugin page under Settings.
    4. Choose the maintenance mode type you want.
    5. Select the page you want for the content.
    6. Save changes and exit the page.
    labinator minimal maintenance mode plugin page
    After finishing this process, your WordPress site will have maintenance mode applied. Now you can safely edit your website to your heart’s content. To reset the settings you chose, go back to the plugin page and set your site to the online option. In the next section, we will cover how to enable maintenance mode through a page builder.

    Enable Using a Page Builder

    Many page builders have a built-in maintenance mode tool. One of the most popular page builders, Elementor, has one such option. If you want to create a stunning page for your maintenance mode without installing a plugin, this route is a great choice. To use this method, you need to have Elementor or another page builder like it.Elementor allows you to create a template with their page builder and then display it when your site has entered maintenance mode. Templates are useful because they can be made quickly and provide full customizability. If you want great templates for Elementor, then you should check out the Labinator template collection!


    To use Elementor for maintenance mode, follow these steps:


    1. Install Elementor to your site.
    2. Go to Templates under Elementor in your dashboard.
    3. Create a new template there and publish it.
    4. Then go to Tools in the Elementor page on your dashboard.
    5. Navigate to the Maintenance Mode page.
    6. Change your permissions if necessary.
    7. Then select the template you created earlier.
    8. Save your changes and exit the page.
    elementor maintenance mode page
    After you have enabled the maintenance mode using these steps. You can go back to editing your site. You can reset these changes by going to the page and selecting Disabled for your maintenance mode. In the next section, I will show you how to enable maintenance mode directly by changing the code.

    Enable Using No Plugins

    The primary method to enable maintenance mode without plugins is by changing code in your WordPress files. This method is very rudimentary and might not look the best when compared to using a plugin. This method will also require you to change code, which I highly don’t recommend. You should also create a backup of your site before doing this.

    To do this process, follow these steps below:

    1. Go to your WordPress dashboard.
    2. Then go toTheme Editor under Appearance.
    3. Find the functions.php file on the right.
    4. Open the file in the code editor.
    5. Add this code to the bottom:
    function wp_maintenance_mode() {
    if (!current_user_can('edit_themes') || !is_user_logged_in()) {
    wp_die('Under Maintenance
    Website under planned maintenance. Please check back later.'); } } add_action('get_header', 'wp_maintenance_mode');

    After adding this code, you must click on Update File. You can change the placeholder text inside of the parentheses to whatever you want. Then open your WordPress site and check if the maintenance mode is working correctly. If you want to reset this process, then delete the code from the bottom of the file.

    Your Perfect WordPress Solution

    In conclusion, I hoped that this tutorial helped you in enabling maintenance mode. There are a lot of listed methods here perfect for anyone from WordPress beginners to professionals. Just remember to take precautions and preparations when changing your site.

    If this tutorial helped you, then you check out more awesome ones here! If you want high-quality WordPress products and services, we have the perfect solution for you.

    Labinator provides stunning themes, feature-rich plugins, expert services, and more, all for affordable prices. They also give you a 30-day money-back guarantee that comes with 24/7 customer support and lifetime updates.

    WordPress Guides

    Best Collection Of WordPress Guides & Checklists

    Our complete and latest collection of WordPress guides and resources that cover everything you need to get the most out of your WordPress website.

    WordPress Launch Checklist
    WordPress Theme Choosing Guide
    WordPress Security
    WordPress Cleaning & Optimization
    White Labeling WordPress
    WordPress Speed Optimization
    Must-Read WordPress Mistakes
    Why WordPress

    Download Them All!

    All of our guides will be sent to your inbox

    Share

    Related posts

    Must-Have WordPress Plugins Guide Thumbnail
    05/01/2022

    What WordPress Plugins Do I Need? (2022)


    Read more
    Ultimate WordPress Accessibility Checklist Thumbnail
    04/01/2022

    Ultimate WordPress Accessibility Checklist (2022)


    Read more

    Main Pages

    • Home
    • About
    • Products
    • Services
    • Blog
    • Contact
    • Resellers

    Powered By

    PayPal Payments

    Popular Services

    • Develop Your Website
    • Speed Up Your Website
    • Secure Your Website
    • Manage Your Website
    • Promote Your Website
    • Develop Your App
    • Promote Your App

    Featured Posts

    • What Is WordPress Used For
    • How To Choose WordPress Themes
    • Increase WordPress Memory Limit
    • WordPress White Labeling Guide
    • WordPress Security Guide
    • WordPress Speed Optimization Guide

    WordPress Themes

    • GrandSpace Theme
    • NanoSpace Theme
    • PicoSpace Theme
    • A11y-Bootstrap Template

    WordPress Plugins

    • Cleaner & Reset Center
    • Ultimate Folders Manager
    • Content Types Duplicator
    • Minimal Maintenance Mode
    • Hide Admin Notifications
    • Customizer Settings Backup
    • Carbon Gutenberg Blocks
    • Advanced Custom Codes
    • Extreme Spam Blocker
    • HTTP Security Headers
    • Login DDoS Guard
    • Restrict Login Attempts
    • Admin Dashboard Theme
    • White Label Branding

    WordPress Marketplace

    • Accessible Bootstrap Templates
    • Premium WordPress Themes
    • Premium WordPress Plugins
    • WordPress Management Service
    • Affiliates

    Extra Links

    • Testimonials
    • Legal Pages

    Energized By

    HostArmada Logo
    © 2022 Labinator. All Rights Reserved.