User friendly 404 error page

Topics: Customizing Orchard, General
Apr 1, 2011 at 2:25 PM

With a "default" Orchard installation if a user enters an invalid URL a rather unfriendly default 404 error page is returned.

For example if a user simply stems a valid URL (http://www.orchardproject.net/omc/Contest/Browse) to http://www.orchardproject.net/omc/Contest you will see what I am talking about.

Has anyone implemented user friendly error pages in their Orchard site, and how did you do it?

Apr 22, 2011 at 1:49 PM

Discussed here: http://orchard.codeplex.com/workitem/17070

For me works this:

<customErrors mode="On" defaultRedirect="en-error"/>, where en-error is page made in dashboard. Prefix "en" - for localization, works with CulturePicker.

Hope it helps, akz.