C# – Creating a custom error page in Umbraco CMS

asp.netccontent-management-systemumbraco

I'm working on a client site who is using Umbraco as a CMS. I need to create a custom 404 error page. I've tried doing it in the IIS config but umbraco overrides that.

Does anyone know how to create a custom 404 error page in Umbraco?
Is there a way to create a custom error page for runtime errors?

Best Answer

In /config/umbracoSettings.config modify <error404>1</error404> "1" with the id of the page you want to show.

<errors>
   <error404>1</error404> 
</errors>

Other ways to do it can be found at Not found handlers

Related Topic