WordPress Stuck in Maintenance Mode? Here’s How to Fix It FAST…

Posted by Stacey Corrin on January 9, 2020

Last updated on: March 20, 2020

Do you ever find yourself facing the WordPress stuck in maintenance mode screen? It’s frustrating, isn’t it?

Usually, this happens when you’re updating the core WordPress files. But it also occurs when you’re updating a bunch of themes or plugins too. In this situation your site gets stuck in the update process, leaving you staring at stuck in maintenance screen.

So how do you fix it?

In this article, we’ll show you how to solve the WordPress stuck in maintenance mode error fast. So you can carry on with updating your site and providing valuable content.

We’ll be covering the following topics:

Shall we get started?

Why Does WordPress Stuck in Maintenance Mode Happen?

The WordPress maintenance mode page isn’t actually an error screen but a notification page.

When you’re updating things on your site, WordPress automatically enables a maintenance screen to let visitors know you’re making some changes.

To do this WordPress creates a temporary .maintenance file located in your website’s root folder. And if everything works as it should, the notice will be displayed for a few seconds at most.

WordPress stuck in maintenance mode

Then when everything has updated successfully, the .maintenance file is automatically deleted leading to maintenance mode being disabled.

Yet sometimes if your WordPress hosting server response is slow, or if you have low memory issues, your updates will time out interrupting the update process. If this happens, your site isn’t given the chance to be taken out of maintenance mode, meaning the maintenance screen will still be visible on your site, and you’ll have to manually remove it.

So how do you go about fixing the WordPress stuck in maintenance mode screen? Let’s find out!

How to Fix the Stuck in Maintenance Error

To take your WordPress site out of maintenance, the easiest method is to delete the .maintenance file. You’ll need to find your site’s root folder by connecting to your files using FTP or locating them in your site’s hosting settings.

Delete the .maintenance file to get out of maintenance mode in wordpress

If there is no .maintenance file in the WordPress root directory, you’ll need to make sure you check the option in your FTP client to show hidden files.

In the Filezilla FTP client, you can force it to show hidden files by selecting Server » Force showing hidden files in the menu bar.

Show hidden files in your FTP client

When you’ve removed the .maintenance file, your site should come out of maintenance and the WordPress maintenance mode page should no longer display on your site.

What if You’re Stuck in Maintenance Mode With no Maintenance File?

If you’re still unable to find the .maintenance file in your root directory after showing hidden files, there are a few things you can try to solve the issue.

Rename your plugins folder

First, you could try renaming your plugins/ folder to _plugins/ to see if you’re able to access your site. If it works, rename the folder back to plugins/ again. Then try disabling every plugin on your site and re-enabling them until your site breaks again to find pin-point the problem plugin.

If you still can’t access your website after renaming the plugins folder, disable your WordPress theme by renaming the folder like we suggested above to see if it solves the issue.

After locating the problem theme or plugin, you’ll need to manually install the plugin update so it’s working properly.

And if you continue to see a maintenance error, there’s one more thing you can try which is to update the wp-activate.php file. This can be found in the same place as the .maintenance file.

rename the wp-activate.php file

Open the file using your managed WordPress hosting company’s file manager, or download it to your computer using FTP.

Then find this line of code:

define ('WP_INSTALLING', true)

and change true to false.

The code will then look like this:

define ('WP_INSTALLING', false)

When you’ve made the changes, save and re-upload the file to the same location using your FTP client. If you’re making the changes using your host’s file manager, simply save the file. Your site should now be out of maintenance mode.

But how to do you prevent this from happening in the future? We’ll show you how next.

How to Avoid Getting Stuck in Maintenance Mode

As we mentioned earlier, getting stuck in WordPress maintenance mode is usually down to slow server response times or low memory issues with your hosting provider.

The simplest way to avoid getting into this situation is to upgrade to a higher hosting plan or a managed WordPress hosting provider with superior performance.

If you’re not in the position to be able to upgrade to a better hosting plan or provider, it’s a smart idea to carry out any plugin or theme updates one at a time instead of bulk updating.

We understand it might save you some time to update all your WordPress plugins in bulk. But even the smallest delay in connection can put your site in maintenance mode.

Bulk updating plugins in WordPress

Instead of updating in bulk, take your time and update plugins properly, one at a time to avoid unnecessary conflicts.

How to Customize Your Maintenance Page

If you’d like to have more control over your site maintenance, you can put it into maintenance mode before you carry out any updates.

The best way to do this is to install the popular SeedProd maintenance mode plugin. SeedProd makes it super easy to create beautiful coming soon and maintenance pages and can help build your email list even if your site isn’t live.

If you’d like some help installing WordPress plugins so you can get started, check out this guide.

After you’ve installed and activated the SeedProd plugin, go to the Settings » Coming Soon Pro page. Then check the Enable Maintenance Mode option.

Enable maintenance mode in seedprod

When you’ve done that, click the Edit Coming Soon/Maintenance Page button to open the theme customizer.

SeedProd coming soon and maintenance mode page themes

Here you can choose from a wide variety of themes for your maintenance page alongside customizing the content and layout. The result will be a beautiful maintenance mode page that’s a far cry from the dull, white default page you normally see.

Seedprod maintenance mode page example

Great work!

Now you can successfully troubleshoot the WordPress stuck in maintenance mode page and fix it fast. You also know how to transform your maintenance from a boring white screen into a stunning screen with all the information your visitors need.

We hope this article helped you with your maintenance issues. You may also want to bookmark our guide on changing WordPress themes without breaking your site.

If you liked this article, then please follow us on Twitter and Facebook.

Made with in Charleston, SC USA

Copyright © 2020 SeedProd LLC
Terms & Conditions | Privacy Policy | SeedProd Coupon Code