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:
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
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). https://our.umbraco.com/documentation/reference/config/umbracosettings/
Thank you!
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:
https://our.umbraco.com/documentation.../Reference/V9-Config/
and specifically for 404 error pages there is this:
https://our.umbraco.com/documentation.../Reference/V9-Config/ContentSettings/#error-404-collection
Hopefully that gives you enough of a steer to get a custom 404 in place for V9!
regards
Marc
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!
is working on a reply...