[HTML/ PHP] Help with 404 error?

How can I show the file they were actually looking for? I.e they request /index-5.html but it redirects them to 404.html, how can I tell that they were looking for /index-5.html within code? I want to do this to say: The file index-5.html is no longer here.

Thanks.
 
Back
Top