So which is best?
<IfModule mod_rewrite.c>
RewriteCond %{HTTP_REFERER} site\.ru [NC]
RewriteRule ^(.*)$ – [L,R=403]
</IfModule>
or
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER} site\.ru [NC]
RewriteRule ^(.*)$ – [F]
</IfModule>
what’s the benefit of adding:
RewriteEngine On
I’m getting pages and pages of requests from site.ru and I’m fed up of trawling through them and having to delete them. so would like to add something to my htaccess file this week to just block site.ru completely, but I’m not expert on htacces code.