title: How to set up a 404 page to retain the original URL?
body: <p>I've found hundreds of blogs and articles telling me &quot;NOT to use my '/404-page/' as the URL slug but retain the original one,&quot; and not one describing how I can actually do that.</p>
  <p>Right now I have my website on Wordpress and I created a custom 404 page which I load in 404.php.
  What am I supposed to do to retain the originally 'mistyped' URL and keep the 404 response? I need this for analytics because right now I can see if a user lands on the 404 page, but I have no clue what he was looking for originally.</p>
  <p>I'm guessing this is something in the htaccess?</p>
  <p>I'm using an Apache server.</p>