Return to Snippet

Revision: 29479
at July 30, 2010 03:05 by IvoTrompert


Initial Code
# MAINTENANCE-PAGE REDIRECT
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.000
RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]
RewriteRule .* /maintenance.html [R=302,L]

Initial URL
http://perishablepress.com/

Initial Description
This code will redirect all requests to a maintenance page

Initial Title
Redirect to maintenance page

Initial Tags
htaccess

Initial Language
Apache