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

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -