HotChilli.Umbraco.PageNotFound 2.1.0

.NET 6.0
dotnet add package HotChilli.Umbraco.PageNotFound --version 2.1.0
NuGet\Install-Package HotChilli.Umbraco.PageNotFound -Version 2.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HotChilli.Umbraco.PageNotFound" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HotChilli.Umbraco.PageNotFound --version 2.1.0
#r "nuget: HotChilli.Umbraco.PageNotFound, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install HotChilli.Umbraco.PageNotFound as a Cake Addin
#addin nuget:?package=HotChilli.Umbraco.PageNotFound&version=2.1.0

// Install HotChilli.Umbraco.PageNotFound as a Cake Tool
#tool nuget:?package=HotChilli.Umbraco.PageNotFound&version=2.1.0

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.

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HotChilli.Umbraco.PageNotFound:

Package Downloads
Webwonders.Umbraco.Startup

Startup for Umbraco

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 395 9/23/2022
2.0.0 1,742 6/21/2022
1.1.0 574 5/24/2022
1.0.0 1,859 2/25/2022
1.0.0-beta-006 474 9/15/2021
1.0.0-beta-005 138 9/10/2021
1.0.0-beta-004 122 8/20/2021
1.0.0-beta-003 118 7/23/2021
1.0.0-beta-002 136 7/23/2021
1.0.0-beta 109 7/22/2021