Contact Us

Address: Ground Floor, Bablu Mension, Karigorpara Road, Amjhupi, Meherpur, 7101
Phone: +8801713902426

    How to fix the Briefly Unavailable for Schedule Maintenance error on WordPress

    You may face “Briefly Unavailable for Schedule Maintenance” problem for an unfinished or interrupted update.

    When you update a version of WordPress it automatically takes your website to the maintenance mode. If you face an unfinished or interrupted update, WordPress could not change your maintenance mode. This error can lock your whole website and it goes unable for you and your visitor.

    WordPress 3.7 version is automated update supported. It the minor release of WordPress. Timeout on updating is a common problem for the WordPress shared hosting users. This cause in-accessibility and maintenance mode on your website.

    In this article, we will learn how to fix this “Briefly Unavailable for Schedule Maintenance” error problem of WordPress.

    Why WordPress show maintenance error?

    Maintenance mode error is not a technical error. It’s just a notification page. When you update a version of WordPress from your dashboard it downloads update files from the WordPress server and installs new files. In this time WordPress set maintenance mode on your site and display the notification “Briefly Unavailable for Schedule Maintenance”.

    If everything goes right this notice take place for few seconds. But sometimes, for slow server response or low memory issue can cause update script timeout or interrupt. If this happens WordPress goes unable to make your site online.

    How to fix maintenance mode error?

    First, you need to be sure that your WordPress updated properly. An unfinished or interrupt update shows “Briefly Unavailable for Schedule Maintenance” error. With this guide, you can update your WordPress manually using FTP or cPanel.

    After the WordPress update, you need to delete the .maintenance file from your root folder. If you can’t find the .maintenance file on root server then allow showing hidden files from FTP client app or file manager. If you use FileZilla you can show hidden files by clicking server>>force button.

    WordPress creates a .maintenance file when you are updating your WordPress to indicate your site is in maintenance mode. The user will see maintenance mode notification until you remove the .maintenance file.

    How to customize maintenance mode notification?

    To avoid default maintenance mode notification the easiest solution is redirecting your user to a temporary maintenance page. You need to in maintenance mode before starting the update. It will create a temporary inaccessible of your site to the user.

    If you don’t want to keep your website in manual update mode you can create a maintenance page without using any plugin.

    Create a maintenance.php file on your desktop and add this codes to the file.

    
    <?php
    $protocol = $_SERVER["SERVER_PROTOCOL"];
    if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol )
    $protocol = 'HTTP/1.0';
    header( "$protocol 503 Service Unavailable", true, 503 );
    header( 'Content-Type: text/html; charset=utf-8' );
    ?>
    
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <body>
    <h1>We are updating the site, please check back in 30 minutes.
    </h1>
    </body>
    </html>
    <?php die(); ?>
    
    

    Now upload this file to your wp-content directory. From next, when you will update you WordPress it will show this page. You can change the style using custom CSS.

    Hope this article will help you solve the “Briefly Unavailable for Schedule Maintenance” error in future.

    Chat on WhatsApp
    >