Redirect Non-Referrer traffic or....?

Discussion in 'PHP' started by Andy$$$, Apr 16, 2009.

  1. #1
    I have a question for all you experts out there :)

    My website is sending traffic through an redirect to a sponsor. This sponsor only pays for traffic that has a referring url attached to it.

    I'm now wondering,

    How can I redirect non-referrer traffic somewhere else?

    OR can it be spoofed so the referrer is the same as the url the visitor came from (on my site) which should have been the correct referrer in the first place?

    I have read tons of threads here about this and some say it can't be done, others says yes it can and a bunch says you can do it through curl but then all those visitors will have your servers IP address shown instead of their own which is no good for me.

    So, can any kind soul give me some advice of what can or can't be done? Perhaps a script? ;)

    Thanks,

    Andy
     
    Andy$$$, Apr 16, 2009 IP
  2. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Individual visitors to your site can spoof the referer, but other webmasters cannot cause referer spoofing.
     
    SmallPotatoes, Apr 16, 2009 IP
  3. Andy$$$

    Andy$$$ Peon

    Messages:
    205
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for clarifying that to me SmallPotatoes! :)

    I made a new thread for more specific needs. Go here
     
    Andy$$$, Apr 17, 2009 IP
  4. atlantaazfinest

    atlantaazfinest Peon

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    UMMM let me try to answer this the best that i understood what you asked.

    Yes you can spoof your referrer to sites using CURL......

    and

    You can redirect visitors who don't have referrer by using .htaccess or php depends on how wide of a spectrum you want it to occur.
     
    atlantaazfinest, Apr 17, 2009 IP