There was a problem loading the comments.

How to Block Any IP Address via an htaccess Rule

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

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.


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

Categories

Copyright 2023 | TPC Hosting | All Rights Reserved | Powered by ® The Projekt Company