wickywills
1/8/2018 - 11:07 AM

Allow/Disallow IP addresses

If you wish to restrict the site to certain IP's, you can run the following command (obviously changing/adding any IP's required

If you wish to restrict the site to certain IP's, you can run the following command (obviously changing/adding any IP's required

php bin/magento maintenance:allow-ips 193.132.1.2 193.132.1.2 83.5.2.4 #etc

Maintenance mode commands:

php bin/magento maintenance:disable
php bin/magento maintenance:enable
php bin/magento maintenance:status