2

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.

amelvin
  • 8,919
  • 4
  • 38
  • 59
aaviss
  • 401
  • 2
  • 10
  • 29

1 Answers1

4

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"

amelvin
  • 8,919
  • 4
  • 38
  • 59
  • 1
    Already it was false. Want I want to know now is, does Umbraco follow both .aspx extension and folder type extension. If yes how to get the .aspx url. – aaviss Apr 23 '13 at 12:27
  • Umbraco follows both so calling /employee or /employee.aspx or /employee/ would all result in the same page being displayed. So just add on .aspx – amelvin Apr 23 '13 at 12:31
  • Thanks a lot. /employee.aspx is working same as /employee. But how do I access the home page http://www.abc.com with extension – aaviss Apr 23 '13 at 14:04
  • 1
    If you go to the homepage in the 'Content' section, switch to the properties tab, the name of the homepage will be at the top - to that and replace any spaces with dashes and add .aspx. – amelvin Apr 23 '13 at 15:56