Quick Question: How do I redirect malicious visitors from a certain domain?

Discussion in 'Site & Server Administration' started by timothius, Jul 16, 2008.

  1. #1
    I am needing to redirect visitors that are referred to my site through a certain domain name. These visitors have wrong intentions and I need to be able to block them.

    So... I setup a page to catch their IP address which I want to redirect them to.

    I know how to block those visitors once I get their IP. All I need is the .htaccess code (or whatever I'm supposed to use) to redirect all visitors coming from a certain domain name to that particular page.

    THANKS a MILLION! :c)
     
    timothius, Jul 16, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    jayshah, Jul 17, 2008 IP
  3. timothius

    timothius Active Member

    Messages:
    136
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    But that code is for image hotlinking? I don't think that the code in that tutorial would do everything that I'm wanting it to do... anything more specific?
     
    timothius, Jul 17, 2008 IP
  4. timothius

    timothius Active Member

    Messages:
    136
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Er... anyone??? (friendly bump) I was kind of thinking this wouldn't be very hard...

    All I need is the .htaccess code (or whatever I'm supposed to use) to redirect all visitors coming from a certain domain name to that particular page.
    Anyone care to help a chap?
     
    timothius, Jul 18, 2008 IP