Copied to clipboard

Flag this post as spam?

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


  • Software Solutions 15 posts 35 karma points
    Feb 11, 2015 @ 11:40
    Software Solutions
    0

    How to display an error page?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 11, 2015 @ 11:43
    Jan Skovgaard
    0

    Hi IDS logic

    What kind of error page do you have in mind? Is it a 404 for instance? You can create your own handler for it or you can set it up in the /config/umbracoSettings.config section where you can specify a node id from your content section, which should be displayed when one ends up on a page that does not exist.

    Hope this helps.

    Btw...what is the reason that you always ask your questions using a large font? :)

    /Jan

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 11, 2015 @ 12:07
    Jeroen Breuer
    0

    Hello,

    You could also create a page somewhere and just point to that url from the web.config.

    For example:

    <customErrors mode="RemoteOnly" defaultRedirect="/error/" />

    Jeroen

  • Software Solutions 15 posts 35 karma points
    Feb 12, 2015 @ 11:29
    Software Solutions
    0

    Yes Jan i want to show 404 error page.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 12, 2015 @ 11:30
    Jeroen Breuer
    0

    Hello,

    You can do default 404's like this: https://our.umbraco.org/wiki/install-and-setup/configuring-404-pages

    Or you could write your own 404 content finder: http://creativewebspecialist.co.uk/2013/08/07/the-new-way-to-do-a-404-umbraco-handler/

    Jeroen

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Feb 12, 2015 @ 11:31
  • 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