Question

We are rebuilding an existing legacy system using MVC4 and Sitecore 7. We however would still like to keep some legacy pages (.chm files which have been bookmarked). I would like to do a 301 redirect of some of these pages using MVC4 in Sitecore.

I googled around and found that in just MVC this could be achieved using this article "http://www.eworldui.net/blog/post/2008/04/ASPNET-MVC---Legacy-Url-Routing.aspx"

However, I am struggling to find how the 301 Redirect would fit in Sitecore MVC implementation ?

If experts could help by providing steps needed to achieve this with pseudo code, that will be greatly appreciated.

Was it helpful?

Solution

There's a Sitecore 301 Redirect Module that can do that: http://marketplace.sitecore.net/en/Modules/301_Redirect_module.aspx

If you need source code, that's here: https://github.com/thecadams/301RedirectModule

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top