Nick Jones

a magento developer at Meanbee (@nickj89) and uk magento expert based in Bath

Enabling Magento Maintenance Mode

Magento 1.4 introduced a method for quickly enabling maintenance mode on a running store. To enabled maintenance mode simply create a file called maintenance.flag file in your Magento root.

The maintenance mode template is found in the errors/default/503.phtml. Integration with the “Allowed IPs” in the developer section of the configuration section would be nice but, of course, there is a way you can hack it. Without this hack maintenance mode is enabled for everyone, even if you have an admin session.

2 Responses to Enabling Magento Maintenance Mode

  1. hii says:

    Thanks for this great info. The next question that arose for me was how to customise the 'maintenance page' that shows to the public. I tried changing the errors/default/503.phtml page and that worked but it kept the default magento theme (logo, colors, header and footer etc). Does anyone know how to just pop a blank html page there that can be fully customised? Thanks!

  2. mjtm says:

    Dear Nick, I need some help on the maintenance mode.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">