Close the store for maintenance in Magento



During magento upgrade or transfer the store to another hosting or any changes, it is important to close the store for maintenance in Magento.

If you need to close the magento store for maintenance, you need to do following:

  1. You can modify the default maintenance message with your own message. The template file is located at : errors\default\503.phtml
  2. Enable Maintenance mode in magento : To enable the maintenance mode in magento, just create an empty file maintenance.flag in the root of your magento store.

By default users will see this page as below image:

Close the store for maintenance in Magento
Close the store for maintenance in Magento

Hope this tutorial will help you to close the store for maintenance in Magento. Also don’t forget to modify the maintenance message.