Skip to main content
All CollectionsWordPress
How to Fix WordPress Stuck in Maintenance Mode
How to Fix WordPress Stuck in Maintenance Mode

How to easily fix the WordPress stuck in maintenance mode bug.

Karl avatar
Written by Karl
Updated over a year ago

Is your WordPress site stuck in maintenance mode? Don’t panic, it happens, and there is an easy fix for it.

We will show you how you get get out of the maintenance mode, by simply deleting a single file on your server.

What you're seeing:

Your site is safe, there is only a small file blocking you from accessing your website, once the file is deleted, everything will return to normal.


How to Fix WordPress Stuck in Maintenance Mode

When WordPress puts itself into maintenance mode, it does so by creating a file named “.maintenance” in the root folder of your WordPress site (the same folder as your wp-admin and wp-content folders.

Step 1. 

Set up file access and SFTP for your Templ account. 

Step 2. 

Navigate to the root folder of your WordPress site and delete the file:

.maintenance 

as shown in the image below.

Once the file is deleted, try to access your website and it should now work.

You may need to force show hidden files:

How To Prevent WordPress From Getting Stuck In Maintenance Mode

Here are some quick tips on how to prevent this from happening again:

  • Make sure plugins and themes are compatible with your WordPress version

  • Don't update too many plugins at once, it's better to update them separately as a new updates becomes available.

Still need help? 

Don't hesitate to contact our support team if you still need assistance.

Did this answer your question?