Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to redirect based on referring url?

Status
Not open for further replies.

richj55

Technical User
Jul 14, 2000
30
US
My company owns 4 domain names. We currently have three redirecting to our main domain. Is there a way to have a popup that says, "please note our website is located at and change your bookmarks" whenever a surfer is redirected from one of our three redirected domains?

Thanks
 
Hi Rich,

what server technology are you using?

If asp, not sure about other servers, I'd do a check on the home page to see what the Request.ServerVariables("HTTP_REFERER") url is. If it's one of your other domains then run the popup window code.

Digga

Sharing Knowledge Saves Valuable Time!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top