Hello,
I am having real difficultly with the rewrite to remove the .aspx extension from all pages of my website. The problem I have is that some pages of my site already have the .aspx extension removed through in-page code and when accessing these pages the .aspx
is added back on which causes an error. Is there anyway I can exclude certain pages from the rewrite rule below please? Also am I right in thinking that if accessing a page with the .aspx extension (after implementing the rewrite rule below) the user should
still be taken to that page, or do you have to change any link references to ensure the .aspx is removed?
<rule name="RewriteASPX" enabled="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENA ...
Go to the complete details ...