Get 15% Off! Use Coupon: GlowUp-15

The deal ends in

How to Fix WordPress Stuck in Maintenance Mode


Is your WordPress site Stuck in Maintenance Mode? If your WordPress site has been stuck in Maintenance Mode for more than a few minutes, chances are there’s been a glitch in the system. But no worries, there is an easy fix to get your WordPress site out of maintenance mode. In this article, we will go over how to How to Fix WordPress Stuck in Maintenance Mode. Click here to skip ahead to the solution.
 
 

What Causes WordPress to Get Stuck in Maintenance Mode?

WordPress has a built-in maintenance mode that it activates whenever you update the core files, themes, or plugins from the WordPress dashboard. You’ll see a notification indicating this while in the WordPress dashboard whenever you run an update like in the following example:

WordPress Maintenance Mode Fix

Generally, it takes just a few seconds for your site to go from “maintenance mode” back to a “working site” before you even realize the site was in maintenance mode. But sometimes, things go wrong and the site gets Stuck in Maintenance Mode and doesn’t properly switch back once the updates are complete.
 
As a result, your site gets stuck on a screen that looks like the following:

WordPress Breifly Unavailable For Scheduled Maintenance Fix

 

How to Fix WordPress Stuck In Maintenance Mode

When WordPress puts itself into maintenance mode, it does so by creating a file named “.maintenance” in the document root where your WordPress site is installed. This is the same folder that contains:
  • wp-admin folder
  • wp-config.php
 
 
To fix this issue, you’ll need to access your file server and delete the “.maintenance” file. Don’t worry, it is an empty file that is never harmful to remove.
 

To resolve this issue, complete the following steps:

 
1. Log into cPanel  (ex: www.mydomain.com/cpanel)
2. Click on File ManagercPanel File Manager
3. Browse to the Document Root for your WordPress Website / Domain. Note: for your main domain, this is usually the ‘public_html‘ folder.
 

WordPress Document Root in File Manager

4. Locate the “.maintenance” file and delete it. Note: dot files are hidden by default. You may need to Select Settings → Show Hidden Dot Files in the top Right Hand Corner of File Manager to see the file.
 
If you cannot see the .maintenance file, click on settings in the top right hand corner of file manager, check ‘Show Hidden Files (dotfiles) then click on ‘Save’.

cPanel File Manager Settings

Delete .maintenance File in WordPress

5. That’s it! Refresh your WordPress page in your browser and your WordPress site should have returned to normal!

 

GlowFrog (1)

© 2022 GlowFrog Hosting, LLC. All rights reserved. | Proudly Powered by Vultr and Google Cloud

Get Notified.

Provide us with your email and we will keep you informed with latest updates and news.

Migrate Your WordPress Site to GlowFrog

Need Help Optimizing your WordPress Site?

Talk to our Experts and get a complimentary website review and consultation.