Skip to content

Sibren/Skybrud.Umbraco.Redirects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skybrud.Umbraco.Redirects GitHub license NuGet NuGet

Looking for the Umbraco 7 version of the package?

Skybrud.Umbraco.Redirects is a redirects manager for Umbraco 8. 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

Install via NuGet

This is the recommend approach, as you install the NuGet Package in your Visual Studio project, and NuGet takes care of the rest.

Umbraco 8
Latest release for Umbraco 8 is v2.0.8:

Install-Package Skybrud.Umbraco.Redirects -Version 2.0.8

Umbraco 7
Latest release for Umbraco 7 is v1.0.0:

Install-Package Skybrud.Umbraco.Redirects -Version 1.0.0

Umbraco package

Umbraco 8
Download the package from Our Umbraco - the Umbraco community website:

Umbraco 7
There is no Umbraco package available for Umbraco 7. Please see either the Install via NuGet option above or the Manual install option below.

Manual install

You can also download a ZIP file of the latest release directly from GitHub, unzip, and move the contents to the root directory of your web application.

  1. Download ZIP file
    Download the ZIP file directly from here on GitHub. The ZIP contains all necessary files to run the package.

  2. Unzip
    Unzip and move the contents to the root directory of your web application.

  3. Install HTTP module
    The package features a HTTP module. When downloading the ZIP file, you must install this manually. In your root Web.config file, search for the <system.webServer> element. Then add the following to the <modules> child element:

    <remove name="RedirectsModule" />
    <add name="RedirectsModule" type="Skybrud.Umbraco.Redirects.Routing.RedirectsModule, Skybrud.Umbraco.Redirects" />

    The order shouldn't matter that much, but we typically add it right after:

    <remove name="UmbracoModule" />
    <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />

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:

image

Or the same property editor added to a media type - eg. here added to the Image media type:

image

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.

About

Redirects manager for Umbraco.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 63.4%
  • JavaScript 14.8%
  • HTML 10.0%
  • CSS 5.9%
  • Less 5.8%
  • Batchfile 0.1%