Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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" ?>
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).
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!
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.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted