As far as I can tell the only way to load a custom error 404 page is through the web.config file.
<error statusCode="404" redirect="/Page404Redirect
What I would like to do is be able to load a custom error 404 page and also capture what the user typed in to get that page.
So the user types in http://www.testURL.com/URL_that_doesnt_exist.aspx
I want them to be redirected to the Error 404 page but also be able to capture that URL they typed in so I can better track where traffic is headed. Maybe make the error page a little more tailored to what the user typed in.
Just wondering if this is possible?
Thanks in advance.