. . .

How to Block Any IP Address via an htaccess Rule

  • December 28, 2024
  • 0 Comments

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.

How helpful was this article to you?