ASP.Net URL rewirting and redirecting....
        Posted  
        
            by DDiVita
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by DDiVita
        
        
        
        Published on 2010-03-31T21:12:11Z
        Indexed on 
            2010/03/31
            21:13 UTC
        
        
        Read the original article
        Hit count: 293
        
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¶m2=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?
© Stack Overflow or respective owner