https://github.com/nikrimington/hotchilli.umbraco.pagenotfoundmanager
V9 version of PageNotFoundManager
https://github.com/nikrimington/hotchilli.umbraco.pagenotfoundmanager
hacktoberfest hacktoberfest2021 umbraco umbraco-package umbraco-v9
Last synced: about 1 month ago
JSON representation
V9 version of PageNotFoundManager
- Host: GitHub
- URL: https://github.com/nikrimington/hotchilli.umbraco.pagenotfoundmanager
- Owner: NikRimington
- License: mit
- Created: 2021-07-01T22:55:22.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2023-12-17T13:42:17.000Z (over 1 year ago)
- Last Synced: 2024-04-26T19:49:09.579Z (12 months ago)
- Topics: hacktoberfest, hacktoberfest2021, umbraco, umbraco-package, umbraco-v9
- Language: C#
- Homepage:
- Size: 84 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: .github/README.md
- License: LICENSE
Awesome Lists containing this project
README
# Page Not Found Manager

[](https://www.nuget.org/packages/HotChilli.Umbraco.PageNotFound/)
[](https://our.umbraco.com/packages/backoffice-extensions/hot-chilli-page-not-found-manager/)## 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](https://our.umbraco.com/packages/backoffice-extensions/hot-chilli-page-not-found-manager/) to aid discoverability.
## Installation
To [install from NuGet](https://www.nuget.org/packages/HotChilli.Umbraco.PageNotFound/), 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](https://github.com/TimGeyssens/UmbracoPageNotFoundManager) by [Tim Geyssens](https://twitter.com/timgeyssens) 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](https://thenounproject.com/term/404/3283006 ) from the [Noun Project](https://thenounproject.com) by [Ilham Fitrotul Hayat](https://thenounproject.com/fhilham), licensed under [CC BY 3.0 US](https://creativecommons.org/licenses/by/3.0/us/).