Jan 20, 2019 04:40 AM|tvb2727|LINK
I want to redirect my website to a generic error page IF they try to get to my .txt files.
I get this error now:
but I want to go to my generic error page instead of the 404.7 error.
I have this in my custom errors page, but locally it doesn't work:
<customErrors mode="On" defaultRedirect="Error.html">
<error statusCode="404" redirect="Error.html" />