How to intercept a Url to dynamically change the routing
问题 I am looking to do something like: For categories where the Controller will be CategoryController www.mysite.com/some-category www.mysite.com/some-category/sub-category www.mysite.com/some-category/sub-category/another //This could go on .. The problem is that: www.mysite.com/some-product needs to point to a ProductController . Normally this would map to the same controller. So, how can I intercept the routing so I can check if the parameter is a Category or Product and route accordingly. I