How to Block Any IP Address via an htaccess Rule

Knowledgebase / How to Block Any IP Address via an htaccess Rule

How to Block Any IP Address via an htaccess Rule

0 found helpful (0 votes) ...
Back to Knowledgebase

If you want to block an IP Address, you can add the below lines to your htaccess file.

order allow, deny
deny from IP-ADDRESS
allow from all

Replace IP-ADDRESS with the IP you want to block.


Was this article helpful?



Still need help?

Open a support ticket →

On This Page