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
Esta resposta foi útil? 0 Utilizadores acharam útil (0 Votos)

Mais Popular

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...