title: Get original url for 404 page
body: <p>So I have found these two questions: </p>
  
  <p><a href="https://stackoverflow.com/questions/5070695/accessing-original-url-in-iis7-404-redirect-page">Accessing original URL in IIS7 404 redirect page</a>
  <a href="https://stackoverflow.com/questions/4948275/get-url-of-page-requested-that-caused-a-404">Get URL of page requested that caused a 404</a></p>
  
  <p>but they are both in different languages. Is there any way to get the address that caused something like a 404 message to use in a custom message?</p>
  
  <p>for example if I requested <code>example.com/example1</code> and that page wasn't there and it redirected to my error page, how could I get <code>example1</code> to display in a message like <code>The page</code>example1<code>isn't there</code>, or use that to create the page <code>example1</code>?</p>