“Fix Tech Daily helps you solve real-world IT problems, with daily tips on Windows, Office, networks, and devices.”
Wednesday, August 6, 2025
WordPress Site Stuck in Maintenance Mode? Here’s How to Exit Safely
🛠️ What is WordPress Maintenance Mode?
When WordPress performs automatic updates for core, plugins, or themes, it temporarily puts the site into maintenance mode, displaying this message:
“Briefly unavailable for scheduled maintenance. Check back in a minute.”
If the update process is interrupted or crashes, the site can get stuck in maintenance mode.
✅ Step-by-Step Troubleshooting Guide
🔹 Step 1: Connect to the Website Using FTP or cPanel
-
Use FTP software (like FileZilla) or your web hosting File Manager.
-
Navigate to the root directory where WordPress is installed (usually
public_html
).
🔹 Step 2: Delete the .maintenance
File
-
Locate the file named
.maintenance
in the root directory. -
Delete this file.
Once deleted, the website should come back online immediately.
⚠️ If you don’t see the file, make sure hidden files are visible in your FTP or cPanel settings.
🔹 Step 3: Clear Caches (Optional)
If the message still appears:
-
Clear your browser cache.
-
Clear your WordPress cache plugin (if any).
-
Clear CDN cache (Cloudflare or others).
🔹 Step 4: Retry the Update
If the update failed previously:
-
Log into the WordPress dashboard.
-
Go to Dashboard > Updates.
-
Re-run any pending updates for plugins, themes, or WordPress core.
🔹 Step 5: Disable Automatic Maintenance Mode (Advanced)
For more control, users can add a filter to prevent auto maintenance:
-
Edit
wp-config.php
or create a plugin snippet:phpremove_action('admin_init', '_maybe_update_core'); remove_action('admin_init', '_maybe_update_plugins'); remove_action('admin_init', '_maybe_update_themes');
-
This stops WordPress from auto-triggering maintenance mode without manual updates.
⚠️ This is only for advanced users or managed environments.
📌 Conclusion
Getting stuck in maintenance mode can happen to anyone during an update. The fix is usually as simple as deleting the .maintenance
file.