KXB.Umbraco.NotFoundHandler 1.0.1

A 404 handler which allows you to spesify an Umbraco documenttype as a 404 page.
     This allows us to use actual umbraco content as content for our 404 page.

     Getting started:

     Web.config:
       - Add httpErrors existingResponse="PassThrough" to the webServer section of your webconfig.

     Global.asax:
       - We need to register the handler with umbraco's ContentResolver.
         - Add following line to the OnApplicationStarting method in your Global.asax.cs

         ** ContentLastChanceFinderResolver.Current.SetFinder(new KXB.Umbraco.NotFoundHandler.NotFoundHandler()); **


     To implement a custom handler it is possible to override the NotFoundHandler.TryFindContent(PublishedContentRequest contentRequest) method.

     =========================================================================

     This package is part a set of smaller modules that I have found useful when working with umbraco.

     Other packages include:

     - KXB.Umbraco.RouteHijacking

     - KXB.Umbraco.Search

There is a newer version of this package available.
See the version list below for details.
Install-Package KXB.Umbraco.NotFoundHandler -Version 1.0.1
dotnet add package KXB.Umbraco.NotFoundHandler --version 1.0.1
<PackageReference Include="KXB.Umbraco.NotFoundHandler" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KXB.Umbraco.NotFoundHandler --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Removed config and made errorpagealias configurable front constructor

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 533 8/3/2017
1.0.1 260 8/2/2017
1.0.0 287 8/1/2017