When working with Magento there are times when you need to place the store into maintenance mode for everybody else to see a pretty notice while you still have access to the store. I’m going to give you multiple steps to follow to do just this. However, you can jump right to any step, because no step relies upon another. Here you go:
Step 1 : Putting Magento into maintenance mode
This is very easy, all that you need to do to enable Magento’s maintenance mode is to create a file in the root directory called maintenance.flag. Once this file is created Magento will serve an Error 503 :Â Service Temporarily Unavailable notice to the user.
To disable Magento’s maintenance mode, just rename or delete the maintenance.flag file and your store will be live again.
Step 3 : Enable developer maintenance bypass
When the store is in maintenance mode, you still may want to have the developers and yourself be able to access the site. To do this we’ll need to modify the index.php file found in your root folder.
[solved] Enable Magento Maintenance Mode with Custom 503 Page
No comments:
Post a Comment