Jump to content

Recommended Posts

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...