1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is it possible to show a different page to certain referrers?

Discussion in 'White Hat SEO' started by Bross, May 17, 2010.

  1. Bross

    Bross Senior Member

    Joined:
    Feb 6, 2010
    Messages:
    859
    Likes Received:
    355
    Hey..

    What I mean is..

    I want people that come from google (for example), to land directly at my squeeze page and not on homepage.

    Is there anyway to define this to the browser? (by referrer).


    Thanks
     
  2. rockz

    rockz Newbie

    Joined:
    May 15, 2010
    Messages:
    33
    Likes Received:
    4
    Home Page:
    Yes, it is possible.
    The site referrer can be tracked by php script,
    then using the same script redirect your visitor to certain page you want.

    It is a simple prob, if you know php programming.
     
  3. zestoi

    zestoi Newbie

    Joined:
    Mar 9, 2010
    Messages:
    41
    Likes Received:
    3
    yep - as said above. preg_match() on the refer(r)er and then 301 - you'd get done for dupe content if not redirecting like that.

    or just use a htaccess rule...