Magento Basic Setting - How to put magento to maintenance mode

How to put magento to maintenance mode

Magento 2 is awesome, now you can learn and practice every thing about Magento 2 with

Magestore Ultimate Magento 2 Tutorial

More than 150 tips, guides and tutorial. Everything is Free forever.

50 000 Magento developers have joined, explore Magento 2 in the easiest way today!

How to put your magento website to maintenance mode when your website is under maintenance?

 magento maintenance mode

If you want to show in maintenance mode of a Magento site, there're 2 steps need to be done:

Step 1

Create a file named maintenance.flag in magento root directory, you can keep it empty.

Step 2

Change the maintenance file (located in magento root -> errors -> default directory) to show proper message when user visits your website.

Other Answers in the Category "Magento Basic Setting"