Return to Snippet

Revision: 51943
at October 8, 2011 02:53 by batfan


Initial Code
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REMOTE_HOST} !^12\.345\.67\.89
RewriteCond %{REQUEST_URI} !/coming-soon\.html$
RewriteRule (.*)$ /coming-soon.html [R=302,L]

Initial URL


Initial Description
Replace the IP with your IP.

Initial Title
HTACCESS - Redirect all other users to a Coming Soon page

Initial Tags
htaccess

Initial Language
Apache