This project is read-only.

Multi-site Page Not Found


Enables website administrators to configure the Not Found (404) page from within the Umbraco back-office. This is achieved using a custom 404 handler.

This functionality requires a new Content Picker property (with the alias of "umbracoPageNotFound") to be added to your root node's document-type, (this is usually your "Homepage").

You can then select the Not Found (404) page using the Content Picker.

On the front-end, if a content node can not be found from the NiceUrl, then the NotFoundHandlers are actioned; until alternative content is found, otherwise a 404 error.

If a umbracoPageNotFound value (content node Id) is found, then the user is presented with the selected Not Found (404) page. Otherwise the default "handle404" handler is actioned.

To manually enable this functionality, add the following setting as the penultimate of the "NotFoundHandlers" section in /config/404handlers.config, (e.g. the one before the "handle404" entry):

<notFound assembly="uComponents.Core" type="NotFoundHandlers.MultiSitePageNotFoundHandler" />

Last edited Jan 31, 2011 at 10:51 PM by leekelleher, version 1