I have a website, which is been working on Dotnetnuke. I am using dotnetnuke's friendly url to use clean url's instead of asp's ugly QueryString urls, now my problem is, what configuration does it need for the extensionless urls in dotnetnuke using IIS7.5, i checked lots of websites on google, but could not make it, how can i use extensionless urls in asp.net, as Dotnetnuke just allows friendly urls and not extensionless urls.
I even tried using URLRewriter.net, but that too didnt helped.
How can I use extensionless url in asp.net?
I recommend using IIS URL Rewriter with the following rule:
<rewrite>
<rules>
<rule name="Rewrite Tab" stopProcessing="true">
<match url="^([a-z0-9/]+)/tabid/([0-9]+)/([a-z0-9/]+)$" ignoreCase="true"/>
<action type="Rewrite" url="default.aspx?tabid={R:1}"/>
</rule>
</rules>
</rewrite>
This will rewrite
/Category/Subcategory/tabid/123/Default
to
/default.aspx?tabid=123
You might also be able to modify DNN's internal rewrite engine rules.