ÁÉICP±¸05025480ºÅ
<% ' DO NOT REMOVE!! redirects non www links to www links dim HTTP_PATH, whereToRedirect HTTP_PATH = request.ServerVariables("PATH_INFO") whereToRedirect = "www.spipharma.com" ' Sets the new URL settings with correct page theURL = "http://" & whereToRedirect if HTTP_PATH = "/index.htm" then theURL = theURL & HTTP_PATH ElseIf HTTP_PATH = "/about.htm" Then theURL = theURL & "/default.asp?contentID=580" end if 'Response.Write "The URL is " & theURL & "
HTTP_PATH is " & HTTP_PATH ' Send 301 response and new location Response.Clear Response.Status = "301 Moved Permanently" Response.AddHeader "Location", theURL Response.Flush Response.End %>