How do I block a referring website?

Discussion in 'General Chat' started by sawz, Apr 21, 2008.

  1. #1
    i am getting traffic from a particular website, (it shall remain unnamed),
    i want it so when someone clicks a link from their to my site, it goes elsewhere.
    anyone know how to do this?
     
    sawz, Apr 21, 2008 IP
  2. kaung

    kaung Twitter @KaungKo

    Messages:
    4,040
    Likes Received:
    187
    Best Answers:
    0
    Trophy Points:
    155
    #2
    kaung, Apr 21, 2008 IP
  3. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #3
    so if i'm getting traffic from here, and i want it redirected, this is what it would look like?

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} forums.digitalpoint\.com/
    RewriteRule ^$ forums.digitalpoint.com [R=301,L]
     
    sawz, Apr 21, 2008 IP
  4. kaung

    kaung Twitter @KaungKo

    Messages:
    4,040
    Likes Received:
    187
    Best Answers:
    0
    Trophy Points:
    155
    #4
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} forums.digitalpoint\.com/
    RewriteRule ^$ anotherdomain.com [R=301,L]

    that you will be redirecting traffic from forums.DP.com to your site to anotherdomain.com or page within your site saying "you are not allowed to access or such"
     
    kaung, Apr 21, 2008 IP
  5. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #5
    will this redirect traffic coming from DP back to DP?
     
    sawz, Apr 21, 2008 IP
  6. kaung

    kaung Twitter @KaungKo

    Messages:
    4,040
    Likes Received:
    187
    Best Answers:
    0
    Trophy Points:
    155
    #6
    yes it will
     
    kaung, Apr 21, 2008 IP
    buffalo likes this.
  7. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #7
    then this is what i want. thanks much for the help. :D
     
    sawz, Apr 21, 2008 IP