WordPress Maintenance Mode – Fix For Stuck in Maintenance Mode

WordPress Maintenance Mode – Fix For Stuck in Maintenance Mode

It’s a happy feeling when your WordPress website is going smooth. You have maximum reach, hitting goals, getting the conversion. But the changing surrounding gives you many reasons to stop and think. No doubt WordPress serve it ’s best but like other tools, it also needs maintenance.

When you put your WordPress site on maintenance mode, it is temporarily inaccessible and this unexpected change can down your site ranking in search engine. But to run the latest version of plugin, themes, and WordPress; we need to update. That’s why it’s necessary to put your WordPress website offline during maintenance.

Here you need to know when to plan the WordPress maintenance with viewers respect and how to get out of it. If you are aware of WordPress files and codes then the task is quite easy. But if you are not aware, then don’t hesitate to outsource WordPress Support help.

Plan The WordPress development mode:

WordPress maintenance is a time taking process and until the maintenance mode is on, the visitors are not able to see your site.  So try to put your website in maintenance mode in the duration in which your site is getting minimum traffic.

When you decided to put your site in maintenance, create a beautiful landing page showing “site is under construction” or site is under maintenance mode or “website is temporarily disabled” etc.. Due to this, the users will understand that the site is temporarily out of service and it will be live soon.

How to put a WordPress Website in maintenance mode with Plugins?

WordPress provides so many plugins to put your site in maintenance mode. Here, we will discuss 3 popular plugin which let you turn on WordPress maintenance mode.

WP Maintenance Mode plugin

The plugin have a 5-star rating. It allows you to add a page which shows that your site is down for maintenance. You can also add the date and countdown timer to show the time after you will connect with your user again.

wp maintenance page plugin

Wp maintenance rating

 

 

 

 

 

The features of WP maintenance mode plugin are as follows:

  • Customizable color, text, and background;
  • Subscription form;
  • Coming soon page;
  • Contact Form;
  • Landing page;
  • WordPress Multisite;
  • Responsive design;
  • Social media icons;
  • Works with any WordPress theme;
  • SEO options;
  • Exclude URLs from maintenance;
  • The Bot functionality allows collecting emails in a friendly and efficient way.
  • GDPR(General Data Protection Regulation) Ready.

Coming Soon Page & Maintenance Mode

As the name states, this plugin allows you to add a simple coming soon mode and WordPress maintenance mode page. You can work on your site in private while the viewers will see “coming soon” and “maintenance page”.

Coming Soon Page & Maintenance Mode imageComing Soon Page & Maintenance Mode rating

The set of benefits and feature this plugin gives are:

  • The plugin is compatible and responsive to all WordPress Themes
  • Properly Customize the Look and Feel
  • Allow adding Custom CSS and HTML
  • Uses HTML5 & CSS3
  • Translation Ready, i18n Support
  • Multisite Support
  • BuddyPress Support
  • Uses WordPress Best Practices

Under Construction / Maintenance Mode from Acurax

With a rating of 4.5 stars, this plugin is just behind the Coming Soon Page and Maintenance Mode plugin.

under construction picturerating Under cunstruction

The highlighting features of this plugin are:

  • It provides 5 Mobile Friendly High Customizable Themes
  • Easy Customization of  Content, Colour, Background etc..
  • Auto Launch Option Available
  • Subscribe Optin form to collect visitor emails
  • Social Media & Google Analytics Integrated
  • Countdown Timer Support
  • SEO Configuration.
  • GDPR and Privacy Policy Options.
  • Advanced Access/Restriction Settings.
  • Custom HTML Page Support

Some other plugins that help you to turn on/off WordPress maintenance mode:

  1. Elementor:
  2. Minimal Coming Soon & Maintenance Mode
  3. Maintenance
  4. Fancy WP Maintenance Mode
  5. Ultimate Maintenance Mode
  6. Slim Maintenance Mode
  7. Site Offline or Coming Soon
  8. Easy Pie Maintenance Mode
  9. Site Maintenance
  10. Coming Soon Page

How To put WordPress in maintenance mode without plugin:

By Using .htaccess

This technique is only for Apache server user. By using you can get control access to the directories within the server and send a response code of the server status.

Here, you can use a 503 status code. This code will show that the “server is temporarily unavailable”. Before you edit .htaccess, it’s necessary to create a new file in .html or .php format and add a message in the file like:

maintenance page viewNow edit your .htaccess file in your server and add following lines:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.000
RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif) [NC]
RewriteRule .* /maintenance.html [R=503,L]
</IfModule>

Once it’s done login your website. Click on Appearance➤Editor. Find Out function.php at the left and add the code in bottom of the function.php file.

Auto maintenance mode in WordPress:

Like any other WordPress feature, WordPress maintenance also turns into automatic mode. Many of the new site developers want their site will show offline while they are not login to their website. This is because they are still developing the site and don’t want to lose the viewers.

In this situation, the Auto Maintenance Mode plugin will play the role. This is a lightweight powerful plugin and can easily installed. This plugin will automatically enable WordPress maintenance mode page when you are not doing anything on your site for a long duration.

Feature serves by this plugin are:

  • Already well customize plugin
  • Automatically Clean HTML and CSS layout
  • Responsive maintenance mode page
  • As the maintenance mode is activated automatically when you are away from your site. So it’s easy to maintain the site.

What to do when we stuck in WordPress maintenance mode:

Sometimes it happens your site get stuck in maintenance mode. In this situation what you will do. Don’t get panic.

What actually happens, when you update your WordPress, themes, and plugin the new file are unzipped and copied and the old files are deleted. This process is fast but when it goes wrong your site become dead and you are not able to access your site.

When we update WordPress, a .maintenance file is created in the root directory which is automatically deleted after the process. This means if you’re stuck in WordPress maintenance mode so, the .maintenance file is still in the root directory and you need to delete it manually.

Reason why your website get stuck in maintenance mode:

  1. When you suddenly close the browser during the auto update of the WordPress website.
  2. A huge number of plugins and then updated at the same time.
  3. The incompatible server also interrupts the Update.

Let’s move on to fix this.

How To Turn Off  WordPress maintenance mode:

By deleting the .maintenance file from the root directory can get you out from the maintenance mode. If you know all the access of your system files then it will be easy to delete .maintenance file.

Delete .maintenance file in Cpanel:

WordPress files are stored in the file manager of Cpanel. What you have to do is access your Cpanel open the file manager. Wait for file manager directory selection pop-up➡Web Root (public_html)➡ Show Hidden Files➡ Go. And you directly reach to .maintenance file. Delete the file and refresh your browser and check that the error is gone or not.

If the file manager directory selection pop-up does not appear and there is no file in the public_html directory then you need to reset all the interface settings. You will get this set in the bottom of Cpanel. Once it’s fixed, refresh the page and try it again. You may see the maintenance mode due to the cache stored in your browser also. So if you still get the error then clear the cache and refresh your site again.

Delete the .maintenance File Using FileZilla:

FileZilla is a cross FTP(file transfer protocol) application consists Filezilla client and FileZilla server. FTP client will work as a file manager. Follow the step to connect with an FTP client.

  1. FTP have done many plans to select one which is suitable for you.
  2. Configure your FTP client Connection type as SFTP (not regular FTP), Address/URL/Hostname: Use your IPv4 Address, Username, Password, Port

Most of the time all the information is located on your dashboard or an email. Run and install the program on the computer.

Open the file and select the site Manager, Click on new site ’s. Ensure that the General tab is on.

Check out for the Wp-admin and Wp-content folder. Find Out .maintenance file and delete it. Refresh your site and check.

If can’t find the WordPress .maintenance file then, click on server and force show hidden files. Now find the .maintenance file and delete it. Refresh your browser and check your site.

Prevention is always better than cure. So, taking care of these things you can get WordPress out of maintenance mode.

Prevent WordPress to Stuck in maintenance mode:

Compatibility of WordPress with plugin and theme

Before you upgrade themes and plugin make sure that the upgraded version must be compatibility of WordPress version.  You can check the compatibility on your WordPress dashboard.

Avoid Bulk update

Never update all the plugins and theme at the same time. Technically it’s good to update plugins and theme when you have the updated version. But due to work we ignore the update at that time and go for a bulk update of all plugins.

Conclusion:

WordPress Maintenance is something which acts as a guard and extends life of your website. Go for it. It takes your time but a lot of features are waiting to add in your site. As a WordPress user, we can say a well-maintained website runs a long way in the digital market.  If you still not confident hire a WordPress developer.

Hope this article helped you with WordPress maintenance mode.

Please like and share the information with others also and you can share your query in the Comment section.



Leave a Reply