16 votes

Simple 301

301 Redirect Manager for Umbraco

Simple 301 Redirect Manager is a simple to use, yet extensible, Umbraco Back-Office package that allows you to manage your 301 redirects directly in Umbraco. Includes a simple and intuitive refinement system where you can search for specific text within the URLs or notes defined for the redirect.

Utilizes ngTable for an AngularJs driven data table which includes ordering by column (Old Url, New Url, Notes and Last Updated) and simple pagination with configurable items per page selector.

Integrates directly with the Umbraco Content Pipeline, inserting itself in the first position to intercept incoming requests and checking against an in-memory collection of redirects for optimal performance (the only time a database is hit is through updating redirects in the back-office and on application start.)

Getting Started

Nuget Package: Install-Package Simple301

Configuration

By default, your web.config file will be updated with two application settings which are used to manage the cached state of the redirects that are created. They are as default :

<configuration>
   ...
  <appSettings>
      ...
      <add key="Simple301.CacheDurationInSeconds" value="3600"/>
      <add key="Simple301.CacheEnabled" value="true"/>
  </appSettings>
</configuration>

Simple301.CacheDurationInSeconds : This allows you to configure how long redirects are cached within the site. This only affects the user facing redirects so that the application doesn't read from the database for every request in the site. If you modify redirects within the back-office, the cache is automatically cleared per action (Add, Update, Delete).

Simple301.CacheEnabled : This allows you to toggle whether or not caching is enabled. Since this package is hit for every requested URL in the site, it is important to consider the performance implications of disabling cache. Use this to troubleshoot redirect issues.

These caching settings were added in order to support load balanced environments, where in previous versions the applications held on to redirects only in memory (persisting to the DB only if modified), which doesn't work in a load balanced environement (they may exist in a memory collection on one server, but not on the other).

Usage

1. Locate Simple301 Redirect Manager in the Content section

Navigate to the Umbraco > Content section. You will find a 'Manage Redirects' tab in the right pane. Select this to view the Simple301 Redirect Manager. From this window you can view and manage all of the redirects for your site. 

2. Refine & Locate

Use the provided Text search by entering text in the 'Search redirects' input box. As you type, results will display in real time. Use pagination and the results-per-page selectors to view more or fewer redirects at a time in the table.

3. Add, Update & Delete

Use the provided actions in the Action column to Add, Update & Delete existing redirects. Update your redirect in line with the rest of the redirects (make sure to click 'Save') or simply fill out a new redirect at the bottom of the table and click 'Add'.

Support: Issue Logging

Screenshots

Package owner

Wade Kallhoff

Wade Kallhoff

Wade has 251 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.0.x (untested)
7.13.x (untested)
7.12.x (100%)
7.11.x (100%)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (100%)
7.6.x (0%)
7.5.x (60%)
7.4.x (100%)
7.3.x (100%)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Wade Kallhoff
  • Created: 08/11/2015
  • Current version 1.1.4
  • .net Version 4.5.2
  • License Apache 2.0
  • Downloads: 3087

External resources