Posted By

batfan on 10/08/11


Tagged

htaccess


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Priestd09


HTACCESS - Redirect all other users to a Coming Soon page


 / Published in: Apache
 

Replace the IP with your IP.

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

Report this snippet  

You need to login to post a comment.