Log in

View Full Version : redirecting...



nikomou
08-31-2005, 03:30 PM
hi there, i am looking for a simple redirect script using .asp, but i would like the page to redirect to a specific page depending on what value i put after the filename.asp.. e,g, i would like

http://www.crazy4mobiles.com/display.asp?hs=7610 to redirect to http://www.crazy4mobiles.com/nokia-mobile-phones/nokia-7610.htm

and

http://www.crazy4mobiles.com/display.asp?hs=vk530 to redirect to http://www.vkmobiles.com/vk-530.htm

could anybody please help me with this? so far all i have is a meta tag redirect script http://www.crazy4mobiles.com/display.asp

Twey
08-31-2005, 03:54 PM
If Request.QueryString("hs") = "vk530" Then
Response.Redirect("http://www.vkmobiles.com/vk-530.htm")
End If