Search code examples
asp.netumbracoumbraco5umbraco-blog

Need URL of umbraco site with aspx extension


I am new to Umbraco so please forgiven me if the question is simple.

My web site has url like http://www.abc.com & http://www.abc.com/employee etc., How can I get the root aspx file. I mean how can I call those URL using .aspx extension.

If HomePage template is responsible for http://www.abc.com I need something like http://www.abc.com/HomePage.aspx.

Thanks in advance.


Solution

  • Whether the site uses .aspx extensions or folder type extensions is set up in web.config.

    You probably have a key of the following set:

    add key="umbracoUseDirectoryUrls" value="true"

    Which you need to change to "false"