Copied to clipboard

Flag this post as spam?

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


  • Poornima Nayar 106 posts 276 karma points MVP 6x c-trib
    Jul 22, 2013 @ 14:02
    Poornima Nayar
    0

    Umbraco 4.7.2 404 pages

    Hi,

     

    I have a site tree with multiple sites and I want to be able to have a 404 page per site . I have put the following lines of code in the umbracosettings.config but it does not seem to help. It is defaulting to the page with id 2784. Can anyone help?

    Poornima

    <errorPage culture="default">2784</errorPage>
    <errorPage culture="en-GB">2784</errorPage>
    <errorPage culture="de-DE">3773</errorPage>
    <error404>2784</error404>
  • Jeroen Breuer 4909 posts 12266 karma points MVP 6x admin c-trib
    Jul 23, 2013 @ 12:14
    Jeroen Breuer
    0

    Hello,

    Here is an example that works for me:

    <errors>
      <!-- the id of the page that should be shown if the page is not found -->
      <error404>
        <errorPage culture="en-GB">1224</errorPage>
        <errorPage culture="nl-NL">1747</errorPage>
      </error404>
    </errors>

    Jeroen

  • 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