Magento Enable Maintenance Mode

Log in to your account using SSH and Change to the directory where you installed Magento.

Run the blow given command

touch maintenance.flag

service httpd restart

Its also possible that we can the website accessible only for some given IPs

For that edit the index.php file and assign teh IPs to the array $allowed = array(‘xxx.xxx.xxx.xxx’);

Leave a Reply

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