Discussion on Mage Maintenance Mode


codepixelzmedia does not currently provide support for this item.

9 comments found.

Hi, can we specify specifi IP so can still access admin backend?

Yes, you can do so. The process is mentioned on the documentation. You just have to add the IP to white list to the system.

I hope that helps.

Yes some more info would be great.. Can logged in users still visit the front end? How do I see the front end of the site, will it be because I am already logged in, or because my IP address is white listed? How does that work? Thanks in advance.


You have the possibility to add IP to whitelist. Once that is done, the user of that IP can access both the frontend and backend. ANy IP except for those white listed will see the maintenance page.

I hope that helps.

How to setup if we have a dynamic IP i.e we use 3G or Dialups, broadband with Dynamic IP. It would have been great if you had left the admin open to login and for login users to see back and front end. Please help

Unfortunately Magento does not allow that, and hence we had to put in the IP. You may add that IP to the list while your IP changes. Hope that is of help.

is this responsive

the extention works great. there is one issue after adding and changing the codes to the index.php page all is seen is a white blank page for the customer and for the user with the approved (added) IP address.

What changes did you make?

after changing the IP address from the default ‘’,’’ to my IP address.

why is it list $19.00 on your page on 21 on here ? I HAD WANTED TO BUY IT

please respond so us!

Hi, We are working on new version, that will have those issues fixed. Should be done in 2 days. Will let you know once done.


We had to report this to themeforest due to not responding to us. If you get it updated and work as it should then we will buy it again!

I’ve just purchased this and I’m reading the instructions which tell me “To create maintenance page, create maintenance.flag file in your root folder and reload your page.” What do I have to do if I only want the maintenance page for ONE of my Magento stores and not all of them? Thanks.

Unfortunately, the extension does not support that right now. However this can be done, by some customization.

Are you able to explain how I need to do this please? Thanks

Well the customization is a longer process and wont be able to explain here for multiple stores. See if this helps.

I have updated the Index.php file and even with the code inserted as stated with the proper IP address I cannot see my site. Here is the code I have for the index.php file my IP address is “XX” is the code in the right order?

/* * Error reporting */ error_reporting(E_ALL | E_STRICT);

/* * Compilation includes configuration file / define(‘MAGENTO_ROOT’, getcwd());

$compilerConfig = MAGENTO_ROOT . ’/includes/config.php’; if (file_exists($compilerConfig)) { include $compilerConfig; }

$mageFilename = MAGENTO_ROOT . ’/app/Mage.php’; $maintenanceFile = ‘maintenance.flag’;

if (!file_exists($mageFilename)) { if (is_dir(‘downloader’)) { header(“Location: downloader”); } else { echo $mageFilename.” was not found”; } exit; }

if (file_exists($maintenanceFile) && !in_array($ip, $allowed)) { include_once dirname(FILE) . ’/errors/503.php’; exit; }

$ip = $_SERVER[‘REMOTE_ADDR’]; $allowed = array(‘;

require_once $mageFilename;


if (isset($_SERVER[‘MAGE_IS_DEVELOPER_MODE’])) { Mage::setIsDeveloperMode(true); }

ini_set(‘display_errors’, 1);


/ Store or website code / $mageRunCode = isset($_SERVER[‘MAGE_RUN_CODE’]) ? $_SERVER[‘MAGE_RUN_CODE’] : ’’;

/ Run store or run website / $mageRunType = isset($_SERVER[‘MAGE_RUN_TYPE’]) ? $_SERVER[‘MAGE_RUN_TYPE’] : ‘store’;

/ IP Address Allowance under maintenance mode */

Mage::run($mageRunCode, $mageRunType);

adding the IP to white list to the system is still not working

Great work, very useful