Is it possible to put a magento site under an maintenance flag so that visitors will get a message that the site is under construction? I can't find this setting in the admin area.
Another solution will also be welcome.
Any help would be appreciated.
Thank you.
Check out this http://www.magentocommerce.com/magento-connect/all4coding-offline-maintenance-page.html it provide exactly what you are looking for. compatible with magento 1.4 - 1.8.
You can also display the maintenance page with your design theme.
Thats what I add to the index in order to be able to continue working from different IPs:
I followed this tutorial to put my Magento store to maintenance mode, you may try as below:
Create a file name maintenance.flag in your magento root directory. Contents under this file doesn’t matter, you can keep it empty.
Change the maintenance file (located in magento root -> errors -> default directory) to show proper message when user visits your website. Hop this helps
I use this often. http://inchoo.net/ecommerce/magento/maintenance-mode-in-magento/
The important part is:
I followed this tutorial http://magentoexplorer.com/how-to-show-and-customize-magento-maintenance-mode-page to enable maintenance mode page in Magento, you need to create and upload maintenance.flag file to Magento root folder, however there are some more step for a good Maintenance mode like.
Add exception during maintenance (allow specific IP to visit your site during maintenance). In index.php, add these lines
$ip = $_SERVER['REMOTE_ADDR']; $allowed = array('x.x.x.x','y.y.y.y');
Hope this helps.
If you need to put Magento in maintenance mode only in frontend, leaving admin enabled for authentication you can try these steps:
Search for the content below (around line 63):
Replace for:
Create a blank file named maintenance.flag in your Magento root installation:
This solution was inspired in the maintenance mode used in Opencart that uses the same behavior.