Copied to clipboard

Flag this post as spam?

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


  • mayuri 11 posts 81 karma points
    Sep 20, 2016 @ 06:01
    mayuri
    0

    Needed custom 404 documnetation

    Please share the link where documentation for custom 404 is present.

    I've checked 2-3 links but its redirecting me to somewhere else and documentation is not there. Those links may be expired.

    Please share me a link. Its Urgent!

    Thanks.

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Sep 20, 2016 @ 06:49
    Michaël Vanbrabandt
    101

    Hi mayuri,

    When you want to add a custom 404 page you need to do the following steps.

    1. Add a new Document Type called Error Page which includes 3 properties:

      • Error code: here you will add 404 / 500 / ...
      • Error title: if its a 404 page you could add the title Page not found
      • Error description: here you can set some information of the error like, The page you are looking for doesn't exists or has been removed.
    2. Add Error Page to your content section.

    3. Get the id of your new added error page by going to the properties of the content node
    4. Open the umbraco config file umbracoSettings.config which is located in the config folder
    5. Add your id of the error page to the error404 tag like <error404>1099</error404>

    Voila. You have set your custom error page!

    Hope this helps

    /Michaël

  • mayuri 11 posts 81 karma points
    Sep 27, 2016 @ 04:09
    mayuri
    0

    Thanks Michael. Its working by following your steps. Thanks.

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Sep 27, 2016 @ 08:22
    Michaël Vanbrabandt
    0

    No problem.

    Glad I could help!

    Have a nice day

    /Michaël

Please Sign in or register to post replies

Write your reply to:

Draft