Is it possible to put a magento site under an maintenance flag so that visitors will get a message that the site is under construction? I can't find this setting in the admin area.
Another solution will also be welcome.
Any help would be appreciated.
Thank you.
Just add a blank file called maintenance.flag to your root.. job done
A neater solution is to use this extension.
it allow you to set the store up so that once logged into the back end you have access to the front + a few other neat features
You can use Folio3: Maintenance Mode plugin to easily put your Magento Frontend in Maintenance Mode ... It has many more features that can help you during the development phase of the project.
If you are using Magento2, then you can download the Magento2 version of Folio3: Maintenance Mode.
Magento has maintenance.flag support built in. Check this out from
http://www.nicksays.co.uk/2010/07/enabling-magento-maintenance-mode/
These are good modules to put your magento sites into maintaince mode anytime you want. http://www.magentocommerce.com/magento-connect/store-maintenance.html
OR
If you want fun with working on the code then create
maintaince.flag
file which put your site into maintaince mode. And if you want to change the template of it then gotoerrors/default/503.phtml
file. Just change the design of it.This is a simple solution.
You may check this article, it has info about puting store to the maintenance for several IPs and have some working examples and needed files:
http://blog.magalter.com/page/how-to-temporarily-block-magento-store-access-put-website-to-maintenance-mode
The following would work with an apache installation (need to check with others).
You could create your own custom site under maintenance html page say
index.html
and place it in the root directory of your installation.Open the
.htaccess
folder and rename the default page fromindex.php
toindex.html
. Restart Apache. Once you are done rename the default page back toindex.php
.It should work.