If you have ever been in the unfortunate position of having your WordPress site stuck in maintenance mode, you will know how frustrating it can be. In this article, we will show you how to fix wordpress stuck in maintenance mode so that you can get back to business as usual.
What causes WordPress to get stuck?
There are many reasons why your WordPress site could get stuck in maintenance mode.
See, WordPress nowadays comes with an automated maintenance mode. Here, wordpress automatically turns on this mode whenever you start updating files such as the WordPress version.
And most of the time, it is a quick switch to this maintenance mode, some people even never notice their site was on maintenance mode.
Like anything else, things can do wrong. Some potential causes of wordpress getting stuck in maintenance mode include;
- You accidentally close your browser tab right before the automatic update is completed
- Trying to automatically update a huge number of plugins/themes at once
- Compatibility problem that causes a glitch
How to Fix WordPress Stuck In Maintenance Mode
WordPress turns on maintenance mode by creating a file name .maintenance mode located in the root folder of your website.
And as soon as WP is done with the update, it deletes this same file. But when a problem occurs, it may fail to do so, thus causing your site to get stuck in maintenance mode.
Manually delete the .maintenance mode file.
You have two options;
One, use FTP to access the root folder of your website and delete the .maintenance file.
Once done, delete empty the cache and your wordpress website should be working normally now.
The other option to fix wordpress stuck in maintenance mode is using cPanel File Manager.
Log into your cPanel account and locate the File Manager. Once inside, find the root folder and delete the .maintenance file.