In the hopes of keeping my directory structure in umbraco clean I wanted to create folders. I followed the wiki page which was most helpful in teaching me about redirecting from a folder to a page but I have this naming conflict issue. For instance I have this structure
Content |Folder1 |page1 |page2 |page1
Both /Folder1/page1 and /page1 are published as /page1.aspx. Is there some way to set it so that /Folder1/page1 is published as /Folder1/page1.aspx?
Yes, you'll have to make a small change to a settings in web.config. Look for the 'umbracoHideTopLevelNodeFromPath' key and set it's value to 'false' instead of 'true'
Or, leave settings as is, and create an extra level in between Content and Folder1 (which is the recommended way btw)
-Content
--Home
---Folder1
----Page1
----Page2
---Page1
using this approach, page1 will be accessible through /folder1/page1.aspx whereas page1 under home node will be accessible as /page1.aspx
Creating Content Folders
In the hopes of keeping my directory structure in umbraco clean I wanted to create folders. I followed the wiki page which was most helpful in teaching me about redirecting from a folder to a page but I have this naming conflict issue. For instance I have this structure
Content
|Folder1
|page1
|page2
|page1
Both /Folder1/page1 and /page1 are published as /page1.aspx. Is there some way to set it so that /Folder1/page1 is published as /Folder1/page1.aspx?
Yes, you'll have to make a small change to a settings in web.config. Look for the 'umbracoHideTopLevelNodeFromPath' key and set it's value to 'false' instead of 'true'
Or, leave settings as is, and create an extra level in between Content and Folder1 (which is the recommended way btw)
-Content
--Home
---Folder1
----Page1
----Page2
---Page1
using this approach, page1 will be accessible through /folder1/page1.aspx whereas page1 under home node will be accessible as /page1.aspx
Cheers,
/Dirk
Ah! So umbraco, by default, pulls all content one level down up to the root level. I will follow your second and recomended approach.
is working on a reply...