I'm trying to migrate an old city portal site with thousand articles to DNN.
Of course the URLs will be totally different, and I won't be able to do a straight match from the old urls to the new ones since everything will be different including ID of the imported articles.
My idea was to have a db table with just 2 fields: OldID and NewUrl, to track the old articles and match them with their new urls.
Now I need a way to intercept old style links wich include classic asp extension so will look something like http://www.mysite.comt/headlines/articole_view.asp?ARTICOLE_ID=376549 and translate them to the new link, through a db lookup for OldId.
I was thinking of doing this in an httpmodule but since I'm totally new to DNN my question is... can I just make an asp.net HttpModule and attach it in the web.config?
At which point in the event chain should I inject the module to prevent DNN url rewriting/404 to happen first?
Will it be possible to intercept requests to .asp pages and transform them or those would be caught up before my module from IIS and assigned to other handlers or such?
Of course I will need to perform permanent url redirections in the module.
Sorry for the noob questions