Get a Free Quote
You will receive quote within 24 Hrs
How to Enable Maintenance Mode in Magento?
Magento is an ecommerce software available in three different versions, one of which is free to download and install. There are many ecommerce softwares around though Magento is slightly different. It uses a MVC approach in its file structure and has many features built-in thus saving you the need to add modules to do the job.
Though it does a have a great deal of modules to supplement the functionality as well. It is possible that you have an existing Magento website and need changing some configuration or load new products or modify existing products.
Magneto can be placed into maintenance mode by simply creating new file by the name of maintenance.flag and placing it in the root folder. Once this file is in place and you attempt to load the website Magento will load the Maintenance page. This means that you cannot even access the admin section of the website. In order to make an exception and be able to access the admin section will need to edit the index.php file and place the following code on approximately line 47:
$ip = $_SERVER[‘REMTE_ADDR’];
$allowed = array(’69.65.23.100’, ‘2.2.2.2’ );
If(file_exists)($maintenanceFile)){ if(file_exists($maintenanceFile) && (!in_array($ip, $allowed)){
That is it you are all set with maintenance page although if you wish to have a customised maintenance page then you need to edit the template located at the following location:
errors/default/503.phtml
Why Choose Alakmalak As a Your Growth Partner?
Alakmalak is a web development company in India that offers services for several technologies. There have been around for a very long time and have developed over 2500 projects for clients all around the world. They have highly skilled web developers with a great deal of experience.
- How to enable maintenance mode in magento?
- How to put magento to maintenance mode?
OVER 600 Small, Medium and Large Enterprise business clients have chosen us from 35 COUNTRIES
-
Federico Bilcheswww.latmeco.com
I want to thank all Alakmalak team for take my project and help me to improve my website! Thank you for your responsibility and seriousness at the time to do corrections and improvements on my website and for always be in touch with me. Highly recommended! Great team! Great company! I'm very thankful Alakmalak!
-
Frank M. Cali.USA
A few kinds words to say about Alakmalak programming and design. Working with these guys is always such a great relief. You know you are getting your stuff done right and usually always in a timely fashion. I’m a middle man for the most part And my clients are always happy with the end result.