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
Var dette svaret til hjelp? 0 brukere syntes dette svaret var til hjelp (0 Stemmer)

Mest populære

How to Protect the htaccess File

You can prevent unauthorized access to your htaccess file by adding this rule to the file: # .htaccess protection order allow, deny deny from...