It’s imperative to keep up with the releases updates within your WordPress installation to ensure you have all the latest code and your site is secure – you always hear people say – keep your WordPress up to date!
However, have you ever tried and found yourself stuck in maintenance mode? This usually happens when an update fails for whatever reason – losing power, internet connection or some error in the update.
You’ll find that you are locked out of the admin and your website is “down for maintenance.”
This can be really frustrating and deter you from updating ever again. But don’t fret, because it’s just a little glitch.
First of all, always remember to back up your website before updating. Backups give you a safety net, so no matter what happens you can revert back to the original state.
That said, the maintenance mode of WordPress gets stuck when an update fails and you never snap out of the process of updating. It’s usually a harmless little glitch. You are blocked out of your admin because WordPress puts a “.maintenance” file in the root directory of your website.
So to get your access back, just log into your web hosting via FTP and delete that “.maintenance” file. That’s it, you’ll now be able to get back into your admin and you should rerun the updates to ensure they complete successfully. No big deal, so don’t fear maintenance mode ever again!