PDA

View Full Version : Redirected URL



GoldenMerc
22-10-2012, 11:10 AM
Hi,

So im going to have to put this in a example, As its quite complicated.
Say if google.com redirected you to bing.com, Is there a way Bing.com can find that? E.g post it on there site, (That you came from google) If so can you help me :)
Ross

Tomm
22-10-2012, 11:21 AM
Use the HTTP referer header, this won't work in every situation though.

GoldenMerc
22-10-2012, 11:24 AM
Well we were planning to base it off a user clicking a ImpulsePay iFrame, but apparently that will just come back as ImpulsePay.com, so instead think we are going to try note parameters (Yet i have no clue what these are)

Tomm
22-10-2012, 11:28 AM
Thought this was about detecting if your user was sent from Google? Are you trying to detect the url of the site that the iframe is embedded in?

hamheyelliot
22-10-2012, 11:32 AM
There are quite a lot of WordPress plugins that do this sort of thing (tell the user where they came from and even what search terms they use) so you might want to download them and dissect the code.

http://wordpress.org/extend/plugins/referrer-detector/

Want to hide these adverts? Register an account for free!