Block redirect from refering site

Discussion in 'Apache' started by indyguidedotinfo, Jun 12, 2008.

  1. #1
    Hello,

    I have someone 301 redirecting their .com to my site. I do not want them to do that. How can i block their 301 redirection to my URL?

    Better yet how i can i redirect his referral to another site? Eg the FBI or another site

    Thanks
     
    indyguidedotinfo, Jun 12, 2008 IP
  2. indyguidedotinfo

    indyguidedotinfo Notable Member

    Messages:
    3,254
    Likes Received:
    202
    Best Answers:
    0
    Trophy Points:
    245
    #2
    anybody? have an idea?
     
    indyguidedotinfo, Jun 12, 2008 IP
  3. buldozerceto

    buldozerceto Active Member

    Messages:
    1,137
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
    #3
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} example\.org [NC]
    RewriteRule .* http://example.com [L]
     
    buldozerceto, Jun 12, 2008 IP
  4. indyguidedotinfo

    indyguidedotinfo Notable Member

    Messages:
    3,254
    Likes Received:
    202
    Best Answers:
    0
    Trophy Points:
    245
    #4
    thanks i tried that and it does not work. its funny because i look at my logs and i do not see referral traffic coming from that site.
     
    indyguidedotinfo, Jun 12, 2008 IP