L
Larry Neylon
Hi there,
I've got a site that has custom errors with the web.config looking like
this:
<customErrors mode="RemoteOnly" defaultRedirect="/CustomErrorPage.aspx">
<error statusCode="404" redirect="/404.aspx"/>
</customErrors>
Is there a way of excluding 403 errors from being redirected?
Something to allow me to have this kind of functionality:
<error statusCode="403" ignore="true"/>
Basically I want 403 errors to be reported to bots and crawlers as 403 not
302 redirects which they currently are.
Any suggestions?
Thanks,
Larry.
I've got a site that has custom errors with the web.config looking like
this:
<customErrors mode="RemoteOnly" defaultRedirect="/CustomErrorPage.aspx">
<error statusCode="404" redirect="/404.aspx"/>
</customErrors>
Is there a way of excluding 403 errors from being redirected?
Something to allow me to have this kind of functionality:
<error statusCode="403" ignore="true"/>
Basically I want 403 errors to be reported to bots and crawlers as 403 not
302 redirects which they currently are.
Any suggestions?
Thanks,
Larry.