Skip to content

Instantly share code, notes, and snippets.

@joeriks
joeriks / 404handlers.config
Last active December 17, 2015 15:19
Catching all requests to URLs beneath a node if it has umbracoCatchAll=1, or at the same level if it's named * Example 1: add a document named * wherever and it will catch all "sibling" url calls (for example /products/* will catch /products/foo and /products/bar) Example 2: add a property umbracoCatchAll to a document and set it to 1 and it wil…
<?xml version="1.0" encoding="utf-8" ?>
<NotFoundHandlers>
<notFound assembly="umbraco" type="SearchForAlias" />
<notFound assembly="umbraco" type="SearchForTemplate"/>
<notFound assembly="umbraco" type="SearchForProfile"/>
<notFound assembly="CatchAllRouteHandler" namespace="Our" type="CatchAll"/>
<notFound assembly="umbraco" type="handle404"/>
</NotFoundHandlers>