Revision: 31868
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 15, 2010 00:15 by BFTrick
Initial Code
Options +FollowSymlinks RewriteEngine on RewriteCond %{REMOTE_HOST} !^123\.45\.67\.89 RewriteCond %{REQUEST_URI} !/alternate_page\.html$ RewriteRule \.html$ /alternate_page.html [R=302,L]
Initial URL
http://www.webmasterworld.com/forum92/167.htm
Initial Description
This code redirects all external traffic (all traffic not belonging to a particular ip) to a temp page. This is useful for performing site maintenance.
Initial Title
Redirect all external traffic to a temp page
Initial Tags
redirect, htaccess, ip
Initial Language
Apache