URL Redirect question.Please help!

Discussion in 'HTML & Website Design' started by joshish, Sep 18, 2008.

  1. #1
    Can someone help me understand this..

    Right now I am sending traffic to Website #2, but suppose I want to hide the referring website that the traffic is coming from, so I thought I'd do a URL redirect.

    If I send traffic to Website #1 and the traffic is automatically redirected to Website #2 from Website #1, will Website #1 than be the referrer?

    This sounds like an SAT question I know..i'm confused.
     
    joshish, Sep 18, 2008 IP
  2. Website Tiger

    Website Tiger Guest

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ok so you want all the people from website 1 to go to website 2, make a index.php file in website 1 root and enter the following code, its very simple

    <?php
    header('Location: http://www.website 2 link.com/');
    ?> 
    Code (markup):
     
    Website Tiger, Sep 18, 2008 IP
  3. joshish

    joshish Guest

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yah, I know how to do it, so I guess the answer to my question is yes, Website #1 would be the referrer?
     
    joshish, Sep 18, 2008 IP
  4. Website Tiger

    Website Tiger Guest

    Messages:
    351
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I believe it would because all the impressions will be going onto website 2
     
    Website Tiger, Sep 18, 2008 IP
  5. Ecreation

    Ecreation Active Member

    Messages:
    823
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    68
    #5
    Yes, webite #1 will be the refferer as it is redirecting the traffic.
     
    Ecreation, Sep 18, 2008 IP
  6. siaosiaokia

    siaosiaokia Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yup! Website #1 will be the referer. In most browsers today support site redirection, website #1 will be sent in the headers as referer. But just a note: There are still some outdated browsers which will send blank referer header to website #2.
     
    siaosiaokia, Sep 19, 2008 IP