Mobile app version of vmapp.org
Login or Join
Jamie184

: 301 redirects for all except me I want to have my site down for an hour and I was using order Deny,Allow Deny from all Allow from my.ip.add.ress but I don't like the default error page.

@Jamie184

Posted in: #Htaccess

I want to have my site down for an hour and I was using

order Deny,Allow
Deny from all
Allow from my.ip.add.ress


but I don't like the default error page. Is there a 301 redirect where I can redirect everyone who is not on my IP address to a nice and pretty page?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jamie184

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

Just specify a page that all 403 error messages should be shown:

order Deny,Allow
Deny from all
Allow from my.ip.add.ress

ErrorDocument 403 /forbidden.html


You can customize this page to look any way you wish.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme