1. PrettyWP
  2. PrettyWP Guides
  3. Tutorials
  4. What is "Briefly Unavailable for Maintenance" and How to Fix It?

What is "Briefly Unavailable for Maintenance" and How to Fix It?


Got a WordPress website? Ever seen the dreaded "Briefly Unavailable for Maintenance" message? It can be quite frustrating when your site gets stuck in maintenance mode, leaving visitors hanging. But don't worry! We've got some handy tips to get your site back up and running smoothly.

So, what's with that maintenance message? When you're making updates or changes to your WordPress website, it automatically enters maintenance mode. During this time, a little file called '.maintenance' pops up in your site's root directory and greets visitors with that annoying message.

But sometimes, things go wrong and the maintenance mode gets stuck, causing the message to linger even after updates are done. This could happen due to interrupted updates or conflicts with plugins or themes.

Now, let's fix this issue once and for all:

  1. Wait and Refresh: Patience is key! Give it a few minutes, then refresh the page. The updates might still be processing in the background. If all goes well, the maintenance message will vanish into thin air.

  2. Clear Browser Cache: Sometimes cached files in your browser can show outdated content, like that stubborn maintenance message. To solve this problem, clear your browser cache to ensure you're seeing the latest version of your website. Then hit that refresh button and see if the error magically disappears.

  3. Remove .maintenance File: If the stuck maintenance mode just won't budge, you may need to take matters into your own hands - literally! Access your site's files via FTP or a file manager provided by your hosting provider. Find that pesky '.maintenance' file in the root directory and delete it. This action should kick your site out of maintenance mode for good!

  4. Disable Maintenance Mode via wp-config.php: For those who like to get their hands dirty with code (or simply prefer an alternative solution), here's one for you! Open up wp-config.php through FTP or a file manager. Add the following code just before the line that says "/* That's all, stop editing! Happy publishing. */":

    define('WP_MAINTENANCE', false);
    That's it! Save your changes and give your website another go.

  5. Check for Plugin or Theme Conflicts: Sometimes, plugins or themes can be the culprits behind a stuck maintenance mode. To identify the troublemaker, temporarily deactivate all your plugins by renaming the "plugins" folder in the "wp-content" directory to something like "plugins2." If this resolves the issue, reactivate each plugin one by one until you find the culprit. Update or replace it with an alternative if needed. If the problem persists, switch to a default WordPress theme temporarily to rule out any theme-related conflicts.

By following these steps, you should be able to fix the "Briefly Unavailable for Maintenance" message and resume normal website operations. Just remember to back up your site before making any manual changes – safety first!


Still need assistance? Our support team is here for you every step of the way. We've got your back!

Previous How to fix "ERR_TOO_MANY_REDIRECTS" error
Next How to Fix "Your Site is Experiencing Technical Difficulties"