tags:

views:

35

answers:

0

I have a scenario where I should redirect my Legacy Url to my current SEO Url. and I have 300+ different legacy urls so I am handling all those in my 404 Handler.

I have my Legacy Url and the actual Action, controller and parameters it is supposed to use. But the issue is there is already a SEO friendly route for these Action and Controller. so I want to redirect this legacy URL to that friendly route.

So I am planning to generate a link like what Html.ActionLink does and want to move permanently.

Can anyone help me in generating this link???