How to block all access to your site using .htaccess

To make it easier to get in touch with us, from the 24th of March 2016 all support tickets will need to be submitted from your Crucial Control Panel.

 

First, if you're unsure how to access your .htaccess file click here for a guide.

 

Once  in there, just copy and paste this code into the top of the file then save it:

 

order deny, allow

deny from all

allow from 12.34.56.78

 

That's it :) it should work straight away though you may have to refresh the page in case it's cached by your browser.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk