Programer OZ Posted August 3, 2010 Share Posted August 3, 2010 How can I make this: http://oz.heliohost.org/Programming/Home.aspx into this: http://oz.heliohost.org/Programming/Home so it doesn't show the extension. I got this code but I do not know where to put it: <rule name="san aspx"> <!--Removes the .aspx extension for all pages.--> <match url="(.*)" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="{R:1}.aspx" /> </rule> I think it has something to do with IIS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.