in-site redirections: Dangerous ?

Discussion in 'Google' started by stats, May 8, 2008.

  1. #1
    example:
    I have a pet food website selling both - cat and dog food (and many others).

    would it be dangerous if i parse the referring URL of an incoming visitor and send them accordingly to cat or dog section if the refferrer contains the keyword "cat" or the keyword "dog" ?

    say, a visitor searched for "cat food" on google, and clicked the link to http://www.mysite.com/index.php , i want to put up a php portion on that index.php that will detect the word "cat" on the reffering URL (google.com?q=cat+food&submit=submit) and instead of showing them the index.php - imediately show them http://www.mysite.com/catfood.php instead.

    can i be penalized for doing this ? is it dangerous ?

    Thanks
     
    stats, May 8, 2008 IP
  2. lappy512

    lappy512 Peon

    Messages:
    277
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Don't do it - if they're looking for cat food, Google should point them to catfood.php, and vice versa.
     
    lappy512, May 8, 2008 IP
  3. ameran

    ameran Well-Known Member

    Messages:
    1,104
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    150
    #3
    It is bad. Even don not think about it.
     
    ameran, May 8, 2008 IP