views:

41

answers:

1

I am trying to wrap my head around a URL rewrtie / redirect project I need to work on. We currently have this url: www.domain.com/Details/Detail.aspx?param1=8&param2=12345

Here is what the rewritten URL will look like: www.domain.com/Param1/8/Param2/12345

I am using the ISAPI_Rewrite filter to allow for the "nice" url and make the page think it is still using the old url. That works fine.

Now, I need to redirect users, if they use the old URL, to the new URL. I fgiure I would need to use a combination of the filter and an HTTPModule / Handler to perfomr the redirect.

Any ideas?

A: 

If you are not going to go down the System.Web.Routing (or use ASP.NET MVC) path then I would have a look at this link.

Kane
Well, I have read that, but that only helps me with the rewrite of the URL, not the redirection that would need to happen.
DDiVita