Can we know from what page user went to 404?


Posted on
Nov 26 2018

Raygun reports about all 404 (page not found) errors. This is great - but unfortunately it tells me only where user wanted to go, but not where from. In example, I can get a 404 error saying that user wanted to get to "", but this page doesn't exist (but there is "") which means that I have somewhere a wrong link, wrong redirection etc. But in this case Raygun doesn't tell me where this error occurred from.

Is there a way do display urlReferrer /HTTP_REFERRER or any other way to find out the previous page?