Has anyone found a way to do a masked (responseRewrite) 404 error page when using Umbracos url rewriting?
I'm doing a solution where I've set up both a custom Umbraco NotFoundHandler for 404 errors, and CustomErrors in web.config for all other errors. Both of these is shown in a masked way, so the url remains the same, even though the error page is shown.
I haven't found a way to do the same when using Umbracos url rewriting.
When a request goes to a page that is url rewritten, and in my code i find out that this request doesn't make any sense, i want to show a masked 404 page as with normal Umbraco 404 errors.
Is this feasible in any way? E.g. any way of manually activating the NotFound system in Umbraco?
404 error page when using Umbracos url rewriting
Hello everybody
Has anyone found a way to do a masked (responseRewrite) 404 error page when using Umbracos url rewriting?
I'm doing a solution where I've set up both a custom Umbraco NotFoundHandler for 404 errors, and CustomErrors in web.config for all other errors. Both of these is shown in a masked way, so the url remains the same, even though the error page is shown.
I haven't found a way to do the same when using Umbracos url rewriting.
When a request goes to a page that is url rewritten, and in my code i find out that this request doesn't make any sense, i want to show a masked 404 page as with normal Umbraco 404 errors.
Is this feasible in any way? E.g. any way of manually activating the NotFound system in Umbraco?
Regards,
Rune
is working on a reply...