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
Don't do it - if they're looking for cat food, Google should point them to catfood.php, and vice versa.