...
To block a specific IP address, add the following lines to the top of your .htaccess
file:
Code Block |
---|
<Limit> order deny,allow deny from 123.456.789.000 allow from all </Limit> |
Replace 123.456.789.000
with the IP address you want to block.
You can block multiple IP addresses by adding additional deny from
lines:
Code Block |
---|
<Limit> order deny,allow deny from 123.456.789.000 deny from 111.222.333.444 allow from all </Limit> |
Save and Upload the .htaccess
File:
...