title: How to catch all calls to *.html in my ASP.NET MVC application
body: <p>Im building a small webshop and have run into a problem. The company which im building this webshop for has a lot of old SEO links pointing to products and categories. They, of course, do not want to loose these inbound links and still want value from them. I need to catch an inbound link e.g. www.myshop.com/myproduct.html and relay it with a HTTP 301 to e.g. www.myshop.com/products/ShowProduct/42</p>
  
  <p>Any ideas on how to do this, i did this before in a asp.net webforms with a generic handler, that intercepted all calls, but i cant seem to get that to work.. I need to do this in code, i dont have access to the IIS since its a web hotel. I know all the inbound links.</p>