Hola all,
I am attempting to set up a custom 404 page which will be able to parse the bad address and send the user to the right page (while telling the search engine what the new page would be)
this is pretty straight forward at first:
• I pointed my custom errors to the .asp page which i want it to use, assigning it as a URL rather then a file.
• i build my .asp page to retrieve the information and get ready to parse it...
but wait!
although the address bar still shows: http://www.mydomain.com/page.asp?var=val&var2=val2 when i look at the request.querystring it shows me the bad URL without the querystring!
req.servervariables("querystring") shows
/404.asp?404;http://www.mydomain.com/page.asp!!!!
i've looked all over, and i cannot find a way to get to that lovely address in the address bar complete with querystring and toaster! Can anyone help me?
I've noticed that this problem only seems to appear with a file with an .asp extention. ie.
mydomain.com/page.asp?var1=val1 will present me with /404.asp?404;/page.asp
mydomain.com/page.html?var1=val1 will present me with /page.html?var1=val1 like it should
strangly, sometimes when i am trying to play with the .asp extention, the address bar in the browser will show me the origonal URL and sometimes it will actually show me the 404.asp page URL.. /EDIT
-Echo
Enter your message below
Sign in or Join us (it's free).