Redirect Manager for Episerver HTTP 301 redirects

Redirect Manager is simple, portable, extendable, open source redirect tool for Episerver projects.

Redirection rules

Here's couple of examples what kind of rules are possible.

Description

It's built to be as minimalistic as possible and as an example of simple Episerver add-on. It requires only 4 files for business logic and data access, 1 controller and 1 view.

Features

  • Easily create redirects to any URLs or to Episerver pages.
  • Wild card rules.
  • Reordering and prioritizing rules.
  • Allow moving and changing URLs of Episerver pages and the redirects still works.
  • All redirects are HTTP 301 (Moved permanently), because search engines only follow this kind of redirects.
  • Access restrictions allow usage of rule manager to only administrators.
  • And the most important: It's open Source and it's yours to extend and manipulate! Solita <3 Open Source!

The key features actually are what this add-on is NOT

  • No CSS or styling; There isn't even a single line of CSS or styling in project. Frameworks as Bootstrap give enough styles for simple solutions and it's responsive OOTB.
  • No NuGet packaging; It's not a NuGet package because NuGet packages aren't agile enough. It's easier to copy&paste changes.
  • No DDS; We have come to conclusion that Dynamic Data Storage isn't scalable and functional for our purposes.
  • No Dojo Toolkit, No Dijit; Dojo framework is way too large and complicated framework for simple solutions like this.
  • No extra controllers and models; MVC is nice concept, but controllers and models are often not important. Coding some trivial logic to views will your project more agile.
  • No REST; Normally we would have used AngularJS and Web API, but with administration tools it's not necessary.
  • No Translations; Administers normally do not need localizations, so why waste of time and energy.
  • No Unit Tests; There is no point of testing trivial things and unit testing != no bugs.

Minimum Requirements

  • Episerver 7 MVC project
  • Entity Framework

Installation instructions

  1. Install Entity Framework from NuGet. https://www.nuget.org/packages/EntityFramework
  2. Copy files into your project
  3. Apply manually Web.Config transformations.
  4. Go to www.yourproject.com/Views/Admin/RedirectManager.cshtml

Instructions for usage

File structuce

Basic 404 redirect logic

GitHub Repository

Source codes are in https://github.com/huilaaja/RedirectManager and feel free to send improvements!  
Redirect Manager is simple, portable, extendable, open source redirect tool for Episerver projects. …