Don’t worry, it happens. Fortunately, it’s simple to fix.
Keeping your WordPress website updated is essential and should be something that is undertaken on a regular basis. Updating a WordPress website does not come without some potential complications: plugin conflicts, plugins not working with your WordPress version, and something that we’ll cover today; the maintenance mode bug.
The maintenance mode bug can mean that your website will become unusable whilst this error exists, but fortunately, it’s a very simple fix to make and is something that will only take a couple of minutes to resolve.
How to Fix the Maintenance Mode Bug on a WordPress Website:
Time needed: 3 minutes.
This is a fairly simple website bug fix that is possible for any user that has access to the website server’s FTP files.
- You must have your FTP server details.
FTP details are available on your cPanel screen where your website is hosted. You may also need to unlock the server to FTP access whilst you rectify the issue.
- You must have a piece of FTP software to access your server.
We use Filezilla usually, but there are plenty of different options out there to use for every type of device).
- Open your FTP software and enter your FTP server details.
- Find the ‘.Maintenance’ file in your root folder
You should see a file called ‘.maintenance’ in the root folder of your WordPress website. The root folder is the same place where the file named ‘wp-config.php’ lives.
- Delete the ‘.Maintenace’ file
Select the ‘.Maintenace’ file, right click onto the file name and choose the delete option.
- Refresh your browser
Refresh your website on a browser and the issue should now be resolved.
How to Prevent this Issue from Happening Again
There a few simple things in the future that can be done to help to prevent your WordPress Website from experiencing the maintenance mode error again.
- Do not update all plugins at once.
- Make sure that the plugin you are updating is compatible with your version of WordPress.