I originally had this maproute in my RouteConfig
routes.MapRoute(
name: "thread",
url: "{Areamix}/{urltitle}/{id}/thread",
defaults: new {controller = "thread", action = "view"
});
The routes with that were too long so I shorten this up to
routes.MapRoute(
name: "thread",
url: "{urltitle}/{Areamix}-{id}",
defaults: new
{
controller = "thread",
action = "view"
});
As you already know the old webpages now return a 404 error since the routing URL has changed, how can I get the old indexed pages redirect or permanent redirect to the newer MapRoute ? They all share common features like the {id} any suggestions would be great thanks.