Hi
I'm using the following code in my htaccess file to try and ban referrals from a certain domain (both the .com and the .co.uk site) but it isn't working
RewriteEngine on
RewriteCond %{HTTP_REFERER} domain\.com [NC,OR]
RewriteCond %{HTTP_REFERER} domain\.co.uk
RewriteRule .* - [F]
I've tested it out by trying to ban referrals from another of my own domains - editing the code, obviously.
I place a link on that site but it works fine - I want people to see a 403 error when they click a link to my site.
Any ideas what I may be missing here?
I used a very similar code in the htaccess file which is in my images directory, to ban hotlinking - and that works perfectly.