Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

404 Custom Error

$
0
0

What is the best way to handle a custom 404 redirect? Currently, our Custom 404 redirect shows up as a 302 status instead of 404 status. See below for code:

<CustomErrors Mode="RemoteOnly">
 <error statusCode="404" redirect="~/404/" />
 <error statusCode="500" redirect="~/500.htm" />
</CustomErrors>

What I would like is to have the 404 error shows up in our SmarterStats Report and I would also like to find out the source of the 404 error. With the current setup, I am having a hard time find out the source of the 404 in SmarterStats.

Thanks,

LW


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>