Forum Moderators: open
I have a custom 404.asp that scans an invalid URL and following some rules issues the following:
---
response.addheader "Location", session("serverpath") & "/blog.asp?blogid=" & blogid & "&postid=" & postid
response.end
---
So, if someone enters [[mydomain]...] it will lookup in the SQL database, find that user "freitasm" has a blog id "123" and redirect to the proper script as [[mydomain]...]
This way I can host multiple "blogs" for my users.
All works fine, however, when the page is loaded the browser shows the new redirected URL (blog.asp?blogid=123&postid=503) instead of the one originally entered (freitasm/503)
Is there any way to instruct the browser, during this redirection, to keep the original URL entered in the address bar instead of showing the new one?
Cheers