I'm moving to a new blog. A blog that's all about my adventures as a traveling designer and wonder seeker.

This snippet is for putting your clients site into maintenance mode, simply put in your IP address and you have full access while users get redirected to the site down html page :)

RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_ADDR} !^     # <--YOUR IP
RewriteCond %{REQUEST_URI} !^/maintenance.html$                      
RewriteRule ^(.*)$ http://yoursite.com/maintenance.html [R=503]

Be The First One To Comment

Submit Comment