How to Ban Any IP Address via htaccess

1 min read 26 views

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.

Je li Vam ovaj odgovor pomogao?