Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • RuneO 36 posts 116 karma points
    Sep 29, 2010 @ 13:23
    RuneO
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft