Copied to clipboard

Flag this post as spam?

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


  • Stefan Arngrimsson 36 posts 59 karma points
    Dec 09, 2010 @ 11:38
    Stefan Arngrimsson
    0

    Multi site and 404 pages

    Hi,

     

    I have several sites within one installation.

    How do I create seperate error pages for each site?

    thanks,

    Stefan

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 09, 2010 @ 14:38
    Lee Kelleher
    0

    Hi Stefan,

    You'll need to use a custom NotFoundHandler to do this.

    You have 2 options...

    1. Take a read of this tutorial and roll your own (example code included): http://videochatisnotmagical.umbraco.org/documentation/books/not-found-handlers/what-is-not-found-handlers-

    2. Wait until next Monday (13th December) when we release uComponents v2 - we have one called "MultiSitePageNotFoundHandler".  Or if you want to download the latest source, you can compile that?  To use it, you would have a Content Picker with the alias of "umbracoPageNotFound" to select the 404 page.

    Cheers, Lee.

  • Stefan Arngrimsson 36 posts 59 karma points
    Dec 09, 2010 @ 14:50
    Stefan Arngrimsson
    0

    Thanks a lot for this info Lee.

     

    Regards,

    Stefan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies