Skip to content

NikRimington/HotChilli.Umbraco.PageNotFoundManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page Not Found Manager

Logo

NuGet Our Umbraco

Getting Started

Page Not Found Manager supports Umbraco v9 RC1+.

Umbraco v9 Packages are only available via Nuget, although there is a page on Our.Umbraco.com to aid discoverability.

Installation

To install from NuGet, run the following command in your instance of Visual Studio.

PM> Install-Package HotChilli.Umbraco.PageNotFound

How to use

Improved documentation will come in time

Once the package has been installed there are two approaches to configuration. Out of the box, it will be loaded via an Umbraco Composer, but if you wish to have more control over when it loads, there is an extension method for IUmbracoBuilder called UsePageNotFoundManager.

Once installed and running, Page Not Found Manager extends the "Do Something Else" context menu with a new entry for picking a 404 page off of a content node.

This allows for multiple different 404 pages to be configured for different parts of the website.

Future Plans

There is currently a plan to investigate and see if this same 404 page can be served for missing media items. In IIS, this would fall back to the default 404 page from IIS but I'm yet to understand this pipeline and if this is possible - I'm open to PR's and suggestions on improvements as well.

Special Thanks

This package is a port of PageNotFoundManager by Tim Geyssens and was created with his permission. The code base used as a point of reference was taken prior to the Licesencing Model change.

Credits

The logo uses 404 from the Noun Project by Ilham Fitrotul Hayat, licensed under CC BY 3.0 US.