Forum Moderators: phranque

Message Too Old, No Replies

redirect based on request header information

redirect based on request header information

         

umakanth

5:03 pm on Jun 28, 2005 (gmt 0)

10+ Year Member



Hi All,

Is there a way to redirect an url request to
a different page if the request is coming from a specific site.

We have an url being redirected from a website, if the request is coming from that site we need to go to a different index page than the standard index.html

Thanks
Umakanth

jdMorgan

10:44 pm on Jul 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The request always comes from the client (the visitor's browser or a search engine). I suspect you are trying to redirect based on the referring site -- the site that links to your site. This subject has been discussed at length here, so try searching WebmasterWorld for "Redirect referer" and "Rewrite referer" and similar phrases to turn up dozens of previous threads.

Jim