Add aspx in url to umbraco pages

Viewed 42

I'm using Umbraco 7.15 version, i would like to keep .aspx ending in the url. is it possible to do so? the umbraco is blocking me in the page itself.

1 Answers

Update: found 2 solutions to the problem

<rewrite>
     <rewriteMaps configSource="rewritemaps.config" />     
      <rules>
            <rule name="Redirect rule1 for Redirects">
              <match url=".*" />
              <conditions>
              <add input="{Redirects:{REQUEST_URI}}" pattern="(.+)" />
              </conditions>
              <action type="Redirect" url="{C:1}" appendQueryString="false" />
      </rules>
    </rewrite> 

and changing the umbracoUseDirectoryUrls in the web.config to false. anyone know the consequences of this solutions?

Related