Creating a custom error page in Umbraco CMS

Gthompson83 picture Gthompson83 · Sep 26, 2008 · Viewed 11.5k times · Source

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?

Answer

Swati picture Swati · Sep 26, 2008

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