Skybrud.Umbraco.Redirects
Skybrud.Umbraco.Redirects is a redirects manager for Umbraco 9. The package features a dashboard and property editor that let's users manage inbound redirects from within the Umbraco backoffice.
URLs can be added to redirect to either a content item, media item or a custom URL.
Installation
The Umbraco 9 version of this package is only available via NuGet. To install the package, you can use either .NET CLI:
dotnet add package Skybrud.Umbraco.Redirects
or the older NuGet Package Manager:
Install-Package Skybrud.Umbraco.Redirects
Umbraco 8
For the Umbraco 8 version of this package, see the v2/main branch instead.
Umbraco 7
For the Umbraco 7 version of this package, see the v1/main branch instead.
Features
-
Global dashboard for listing all redirects. Supports filtering and searching.
-
Property editor that can be added to either a content item or media item to show inbound redirects
-
Package only handles custom redirecs - eg. added manually by an editor. The package will let Umbraco 7.5+ handle redirects for renamed pages
-
Includes a
RedirectsService
for managing the redirects from your own code
Screenshots
Besides the dashboard shown in the top of this page, the package also features property editor that let's users add new inbound redirect directly from the content or media item being editied.
For instance the screenshot below illustrates the property editor added to a content type:
Or the same property editor added to a media type - eg. here added to the Image
media type:
Under the hood
The package comes with a HTTP module that will kick in when Umbraco or IIS returns a response with a 404 status code. If this is the case, the module will look up the requested URL, and then redirect the user if a matching redirect is found in the database.