Redirect unreferred traffic to different page

Discussion in 'Programming' started by seethesun, Mar 5, 2009.

  1. #1
    Hi,

    I am looking for a way to show traffic that didn't come from a specific source a different webpage than did come a specific source.

    Basically, I have a landing page and if competitors come directly to my page I want to show them something different than my targeted traffic.

    I know I just read something on this about a week. I wasn't really thinking about it at the time or I would have saved it. For the life of me I don't know where I found or how I found.

    Any suggestions would be great.
     
    seethesun, Mar 5, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    You can use php
    have a look here http referer
    and then you can use a condition like
    if($referer == "") {
    print "content without referer - directly";
    }else{
    print "normal content";
    }

    if you dont know php I can help with a few bux just contact me via pm
     
    crivion, Mar 6, 2009 IP