To show your Magento website in maintenance mode, you have to do below mentioned steps in Magento 1.X and Magento 2.X
Magento 1.X
1. Create a file name maintenance.flag in your magento root directory. You can keep it empty.
2. Change the maintenance file (located in magento root -> errors -> default directory) to show proper message when user visits your website.
Magento 2.X
Run below commands to enable or disable
Maintenance Mode Enable
php bin/magento maintenance:enableMaintenance Mode Disable
php bin/magento maintenance:disable
No comments:
Post a Comment