iis7 url rewrite (remove .aspx) and getting error 404
- by eimeim
I have an issue with IIS7 url rewrite module, when I add following rule I get an 404 error on all pages.
<rule name="Remove .aspx" stopProcessing="true">
<match url="(.+)\.aspx" />
<action type="Redirect" redirectType="Permanent" url="{R:1}" />
All I want to do to remove all files extensions.
I get lost with this, maybe someone knows the solution?
Thanks in advance.
Regards,
eimeim