How to Remove Maintenance Mode: Step-by-Step Guide
Are you dealing with a constraining "Maintenance mode" screen that's blocking your WordPress site's visitors? Don't worry, we've all been there. Here's a step-by-step guide to remove maintenance mode from your site.
Before we dive in, make sure you have access to your website's file manager via FTP or SFTP, and you're comfortable with basic coding. If you're new to this, don't worry. We'll keep it simple and walk you through the process.
Accessing Your Site via FTP or SFTP
Most web hosts provide an FTP (File Transfer Protocol) client, like FileZilla, in their control panel. If yours doesn't, you can use the built-in SFTP (SSH File Transfer Protocol) feature in your SSH terminal or use an SFTP client like Cyberduck or WinSCP.
Remember, you must use your website's FTP/SFTP credentials (username and password), not your cPanel login details. You can find these in your hosting account's welcome email or by contacting your host's support.
Using FTP
Open your FTP software and connect to your site with the FTP details. Navigate to your site's root directory, usually named public_html or www.
For FileZilla, in the 'Connect to' field, fill in your FTP details, and click 'Connect'. Once connected, browse to your site's root directory.
Using SFTP
Open your SFTP client and connect to your site using the SFTP details. Navigate to your site's root directory just like in FTP.
For Cyberduck, in the 'Server' field, enter 'sftp://' followed by your site's domain or IP address. Fill in your SFTP credentials and click 'Open Connection'. Browse to your site's root directory once connected.
Removing the Maintenance Mode Plugin or File
With your site's files displayed, let's locate and remove the maintenance mode file or plugin.
Remove the .maintenance file
Sometimes, WordPress creates a file named .maintenance in your site's root directory to trigger maintenance mode. If you see this file, select it, right-click, and choose to delete it.
If you're using SFTP, ensure you can see hidden files. In Cyberduck, go to 'View' → 'Show Hidden Files'.
Deactivate and Delete the Maintenance Mode Plugin
If the .maintenance file is absent but your site is still in maintenance mode, you might have a plugin causing it. Access your site's wp-content folder, then plugins. Locate and deactivate any maintenance mode plugin (e.g., "Maintenance Mode") by right-clicking and choosing 'Rename' to add a dash before the plugin's name.
Once deactivated, delete the plugin by selecting it and clicking the 'Delete' or 'Trash' button in your FTP/SFTP client.
Refresh your site, and the maintenance mode should now be gone. If not, try deleting your site's wp-login.php file, then rename it back. This might help reset any authentication issues.
Remember, always create a backup of your site before making changes to your files. You can use the All-in-One WP Migration plugin for this. Also, use a staging environment for testing before applying these changes to your live site.
Now that you know how to remove maintenance mode, you're free to keep your site updated and running smoothly. Happy managing!