WordPress website stuck in maintenance mode after update - How to fix it?
Is your WordPress site stuck in maintenance mode? Don’t worry, it’s not a problem. In this article, I’ll show you how to disable the maintenance mode in WordPress.
I will explain what maintenance mode is, how to disable maintenance mode in WordPress and how to prevent similar problems in the future.
What is maintenance mode?
Every time you update WordPress, plugins or themes, the maintenance mode is activated, which is built into the automatic update system of WordPress. Maintenance mode is usually only enabled for a few seconds, but sometimes there may be a problem with the possibility of accessing the website for a long time, even to the admin panel. As a result, you persistently see this message when you try to visit your site:
WordPress site stuck in maintenance mode – what are the possible causes?
- There’s a compatibility problem that causes a glitch
- You accidentally or intentionally close your browser tab while the automatic update is in progress
- You are updating too many plugins / themes at the same time
How to Fix WordPress Stuck In Maintenance Mode
When WordPress enters maintenance mode, it does so by creating a file called “.maintenance” in the root of the WordPress site. The solution to the problem is to delete this file from the server using FTP or your hosting file manager. After deleting this file, your website should function properly. I also recommend clearing the cache on your WordPress site. If the crash is not due to a compatibility issue, you should run the upgrade again to ensure your site is running the latest version.
How to prevent similar problems in the future
You can take steps to prevent WordPress from stuck in maintenance mode.
- Make sure plugins/themes are compatible with your version of WordPress before updating
- Avoid Updating all Plugins at Once
As you can see, the problem of page stop in maintenance mode is quite simple to fix.
Add the first comment and start a discussion