01 Jun 2010
28 Oct 2010
Link to this post
I am in the process of porting a website to Sitefinity. It has approximately 50 pages and the URLs are not SEO friendly. I want to fix this issue when I move it to Sitefinity but that means I have to figure out a way to do mass 301 redirects. My current plan is to create an xml mapping file used to map old urls to new urls and write an HttpModule that analyzes the current request for matches against the xml file.
I know you can create alternate urls for a given page but some of the content is dynamically generated (ie. A news atricle). Here's an example.
Old url: http://www.mysite.com/[unique integer].html (don't ask why the URL is like that)
New url: http://www.mysite.com/news/[news title].aspx
So as you can see I can't simply run it through a regular expression. I'm wondering if Telerik has a tool...possibly available for customers (I do have Sitefinity licenses) that offers a GUI to map urls and a HttpModule that perform the redirects.