I'm looking for a method to redirect my homepage but it does not seem to work. My visitors are able to visit my site by entering (for example) http://www.mysite.com. When they do this, they get http://www.mysite.com/ in the browser (including the / at the end).
I want to redirect them directly to my default.asp page (so to http://www.mysite.com/default.asp).
I have already tried in the sub shoppageheader without success:
if lcase(compareurl) = "/" then
If lcase(Request.ServerVariables("SERVER_NAME")) = xmysite & "/" Then
Response.Status="301 Moved Permanently"
'Response.AddHeader "Location","http://www." & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("REQUEST_URI")
Response.AddHeader "Location", xmysite & "/default.asp"