With this snippet you can redirect visitors to a maintenance page or other temporary page.

order deny,allow
deny from all
allow from 123.123.123.123

ErrorDocument 403 /maintenance.html

<Files maintenance.html>
allow from all
</Files>
Source: http://designmess.com/tutorial/snippets-and-resources-get-started-htaccess
 

Leave a Comment

You must be logged in to post a Review.