AddRewrite(@"([0-9A-Za-z-]+)", "Home/Category?slug=$1", skipRemainingRules: true) it does not work but AddRewrite(@"([0-9A-Za-z-]+).htm", "Home/Category?slug=$1", skipRemainingRules: true) works when I added .htm at the end of the the group.
AddRewrite(@"([0-9A-Za-z-]+)", "Home/Category?slug=$1", skipRemainingRules: true)
AddRewrite(@"([0-9A-Za-z-]+).htm", "Home/Category?slug=$1", skipRemainingRules: true)
I need to work first one
2.1m questions
2.1m answers
60 comments
56.9k users