Categories

maintenance mode

Template-help.com Team April 17, 2015
No votes yet.
Please wait...

Maintenance Mode (Under Construction page) is used for preventing any users other than site administrator from being able to view the site. Maintenance mode page displays information about the website that is not completed, ready for viewing on the Internet or updating.

Under Construction page makes your site temporarily unavailable to public access. Here you can see an example of the Under Construction page:

maintenance_mode

When users try to access your site that is under maintenance, they can see the message that site is not available at the moment. You can create custom maintenance mode page informing your site visitors when your site will be online or proving them with the reason of doing maintenance.

There are several ways to put your site under maintenance:

  1. Using .htaccess file.

    If you use Apache server, you can use .htaccess file to put your site under maintenance mode:

    1. Create .html or .php file with your under construction message.

    2. Modify .htaccess file on your server. Add code as follows:

      <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>
      
    3. You can still set your IP adress on the line below to be able to view your site:


      RewriteCond %{REMOTE_ADDR} !^123.456.789.000
  2. Built-in Maintenance Page.

    Some CMS or eCommerce platforms have maintenance page included. You can turn it on from your site backend.

  3. Using additional plugins/modules.

    There are several additional plugins available for putting your site under maintenance. They allow you to activate/deactivate under construction page with one click. Plugins and modules let you modify your maintenance mode message directly from your site backend.

Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

Comments are closed.