Hube02
asked on
Custom 404 and 301's in ASP
I have a site that we are redeveloping that has to stay on the current host/environment. We do not have access to creating any type of redirection from .htm or .html files to any other type of files. However, we can create a custom 404 page.
The only server side scripting available is classic ASP (VBScript).
What I would like to do is have the custom 404 page get the URL that was originally requested and then do a 301 redirect to the new page.
Can someone tell me how to get the url that was originally requested in VBScript?
The only server side scripting available is classic ASP (VBScript).
What I would like to do is have the custom 404 page get the URL that was originally requested and then do a 301 redirect to the new page.
Can someone tell me how to get the url that was originally requested in VBScript?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
take your time, just remember to come back :)
ASKER