Copied to clipboard

Flag this post as spam?

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

  • Francis Pion 3 posts 83 karma points
    Jul 23, 2021 @ 16:17
    Francis Pion

    v9 | umbracoSettings.config

    Hi, I'm testing Umbraco v9 right now (not in the cloud).

    I have created the following file in my project: /umbraco/config/umbracoSettings.config

    <?xml version="1.0" encoding="utf-8" ?>
        <tours enable="false"></tours>

    The GUID resolves to an existing page, but the default ugly 404 NotFound page is still displayed.

    How do I setup a 404 NotFound page in the V9? The documentation haven't been updated yet (which is perfectly normal).

    Thank you!

  • Marc Goodson 1577 posts 10543 karma points MVP 6x c-trib
    Jul 25, 2021 @ 09:41
    Marc Goodson

    Hi Francis

    With V9 and .net core (v5) framework, one of the biggest changes to adapt to is how configuration is performed... gone is the XML configuration of things! - we now have JSON files that contain the config settings.

    There is a good introduction to the change for V9 here:

    and specifically for 404 error pages there is this:

    Hopefully that gives you enough of a steer to get a custom 404 in place for V9!



  • Francis Pion 3 posts 83 karma points
    Jul 26, 2021 @ 14:34
    Francis Pion

    Hi Marc,

    Thanks for your reply!

    Changing XML to JSON is a really good thing - it allows us to customize the deployment process with a high degree of flexibility.

    Thanks to your help, I've been able to setup a 404 page as well as a custom 500 page, and found the equivalent to the settings I used with the V8.

    Best regards!

Please Sign in or register to post replies

Write your reply to: