Tags: Magento
To enable the maintenance mode in Magento, just execute the command:
1 | php bin/magento maintenance: enable |
You can also specify the IP addresses for which website will be available:
1 | php bin/magento maintenance: enable [--ip = <ip address> ... --ip = <ip address>] |
or
1 | php bin/magento maintenance: allow-ips <ip address> .. <ip address> |
In order to disable maintenance mode, it is enough to execute the following command:
1 | php bin/magento maintenance: disable |
To view maintenance status:
1 | php bin/magento maintenance: status |
Everything is done!
Ihor KlymchukTechnical Lead
Rate us
Please wait...
Related articles
- If you’re a newbie merchant and don’t know how to install Magento 2...
- Get frustrated when it comes to adding Magento multiple languages? Not a...
- Although it can take much time and efforts to migrate Magento 1 to Magento 2 it...
- If you don’t know how to create a custom cache type in Magento, this article...
- Find out about Magento Enterprise Cloud Edition in our article to get more from...
- Are you planning to turn your ordinary store into a great online mall but...
- This article is devoted to the best free Magento Themes. View the list of 7 the...
- In the Magento world, it becomes more and more popular to create Progressive...