View Single Post
Old 06-11-2014, 06:38 AM  
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
Why not just develop your redirect page in a way that provides everything everyone wants?

/landing-page.php?sponsor=thissponsorid

Link to that page internally and set a session variable prior. If a user is sent there internally with the session variable, have that page redirect them to the sponsor.

If a search engine bot hits it, or a program manager sees the referring url and goes there manually. There would not be a session variable there. Have the page display the relevant content and or links to the sponsor when the session variable is not present.

Thus you get the best of both worlds.

Or, to make it even simpler - why not attach the actual referring url to the redirect? You probably shouldn't be redirecting people without that anyway - obviously. So if you are, perhaps you should code the redirect a little better to attach the proper header information prior to sending the user to the new location?
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote