asp.net - ReWrite rule for IIS 7+ -
i have site generates following url structure rewrite.
current url
domain.com/store/catid/20/prodid/50/pair-of-socks.aspx
desired url
domain.com/pair-of-socks.aspx
it depends on how many edge cases need cater for. simple solution be:
match url (\w+/)+(\w+.\w{3,4}) rewrite url {r:2}
Comments
Post a Comment