I've ported legacy content into a DNN blog, and build a little app (map.aspx) to convert old URLs to DNN URLs. The app works great if I can just get the URL marshalled into the right format.
Basically...
The OLD URL: http://www.prorec.com/prorec/articles.nsf/articles/4499075A4BDF390D862566CF0022418C
needs to be converted into
The NEW URL: http://www.prorec.com/Articles/tabid/109/EntryID/28/Default.aspx
which is easy if I can just create
The MAP URL: http://www.prorec.com/map.aspx?articles.nsf/articles/4499075A4BDF390D862566CF0022418C
As you can see, the MAP URL is just a substitution of "/map.aspx?" in place of "/prorec/".
I thought that I could create a Friendly URL rule to do this:
Match |
Replace With |
.*/prorec/(.*) |
~/map.aspx?$1 |
But this does not seem to work.
So, can anyone help me out? I'm on the verge of a perfect solution, but, alas, hopelessly stuck. ![](/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/images/smiley/msn/sad_smile.gif)