Magento Enable Maintenance Mode With IP Filters

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

Run the blow given commands

touch /opt/ocentric/magento/current/maintenance.flag

service httpd restart

Then edit the index.php and assign the IPs to be shiteslited to the array $allowed = array(‘’);

Leave a Reply

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