If your host allows you to use htaccess files on your account, place one in your root/public_html folder. This will prevent them from getting to the site period and save valuable mysql resources as well.
<Files ~ "404\.html">
Order Allow,deny
Allow from ALL
</Files>
Order Allow,Deny
Deny from iphere or domain or ip class 1.1.1.1 or 1.1.1 or 1.1
Deny from iphere
Allow from all
|