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

sql server - MSSQL Text and Varchar(MAX) fields shown (MEMO) in DBGrid -

php - Changing the visibility scope of parent methods in child classes -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -