site off line for maintenance

If you want to update your site, or do some maintenance stuff and you dont want to allow others to have access to your site

add the code below to your htaccess file in root of your folder.

The below code sends all users to maintenance.html EXCEPT those with the specified IP .. simply change the ip 11\.111\.111\.111 to the IP of your computer. Otherwise your pc will be blocked as well. And dont forget to add a maintenance.html file in your root with some information. and dont forget to change domain.com to your own domain name...

RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^(.*)$ http://domain.com/maintenance.html [R=307,L]
Quote · 25 Mar 2011

Didnt work for me... I got a 500 Server Error

Quote · 31 Aug 2012

The mod from Deano works wonders :)

 

http://www.boonex.com/m/Site_Maintenance_Mode_Mod

 

Disable your splash page too if you have one enabled. That's all I do.

Quote · 31 Aug 2012

I had already saw this but If I can find a way to get simple things I need done with out having to pay.  Thats what I will try to do first.  But thanks anyway.  Smile

Quote · 31 Aug 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.