How do you redirect a request in ASP.NET MVC to its correct canonical version if part of the URL is missing?
Using Stack Overflow as an example, the site adds the qu
You should learn about ASP.net MVC routing mechanisms, as Stackoverflow uses this technology. It is quite a complex question to be answered here, but you will find lots of learning resources out there, like: http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx