Block two specific referers

Avatar
  • Answered
I used the code below to block 2 specific referers, but for some reasons the two referers are now listed in my hotlink URL ACCESS. Am I missing something?

RewriteEngine On
RewriteCond %{HTTP_REFERER} example\.com [NC,OR]
RewriteCond %{HTTP_REFERER} example\.net
RewriteRule .* - [F]
Avatar
johnpaulb-imhs1
Hello, Thank you for your question regarding blocking specific referrers. We are happy to help, but will need some additional information. When you say the referrers are "listed in the hotlink URL ACCESS" could you provide more information or steps for us to follow to see the issue? Here is a helpful link to our guide on block traffic by referrer. Thank you, John-Paul