add a file inside your magento installation directory called maintenance.flag with text maintenance
whenever someone access the site will get the following messsage
the code in index.php that is in the /public_html or root folder, checks if there's a file called maintence.flag, if its available shows the /errors/503.php file.
change it to your own custom page
or change the line to
$ip = $_SERVER['REMOTE_ADDR'];
$allowed = array('112.134.126.52','112.134.123.64');
// these are the IP's that are allowed to view the site.
if (file_exists($maintenanceFile) && !in_array($ip, $allowed)) {
Magento Go
http://www.magentocommerce.com/knowledge-base/entry/configuration-general-maintenance-mode/
whenever someone access the site will get the following messsage
the code in index.php that is in the /public_html or root folder, checks if there's a file called maintence.flag, if its available shows the /errors/503.php file.
change it to your own custom page
or change the line to
$ip = $_SERVER['REMOTE_ADDR'];
$allowed = array('112.134.126.52','112.134.123.64');
// these are the IP's that are allowed to view the site.
if (file_exists($maintenanceFile) && !in_array($ip, $allowed)) {
Magento Go
http://www.magentocommerce.com/knowledge-base/entry/configuration-general-maintenance-mode/
No comments:
Post a Comment