How to put magento in maintenance

Justmac picture Justmac · Nov 17, 2010 · Viewed 73.6k times · Source

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.

Answer

Dakshika picture Dakshika · Apr 1, 2012

To enable maintenance mode in Magento, just create empty maintenance.flag file in the root of your Magento store.