I am new to umbraco. so i want to have folders in my site and put my pages into that folders. I found umbraco create folder when you create a new page under another one. but i want to manually create folder and put my textpages into that.
for example i want to create a folder "Contact" and create a default page into that which our website visitors point to urls like this : "http://ourwebsite.com/contact" and see the content of that page.
in web.config, set Umbraco use directory url to true, so that your page contact.aspx, will be yourwebsite/contact/.
An other way is to create a document type called section with no associated template that you could use to create section (they would look like folder since to be accessed, the url would be yourwebsite/section/yourpage.aspx.
What version of IIS are you using? On older versions of IIS, only .aspx files are handled by .Net (and by extension Umbraco, as that's written in .Net). You may need to set up a wildcard mapping in IIS for your site so that folders, such as /contact/ get passed to Umbraco correctly. If you are using IIS6, follow the instructions here: http://professionalaspnet.com/archive/2007/07/27/Configure-IIS-for-Wildcard-Extensions-in-ASP.NET.aspx to enable extensionless URLs to work.
Create folder in content tree
Hi
I am new to umbraco. so i want to have folders in my site and put my pages into that folders. I found umbraco create folder when you create a new page under another one. but i want to manually create folder and put my textpages into that.
for example i want to create a folder "Contact" and create a default page into that which our website visitors point to urls like this : "http://ourwebsite.com/contact" and see the content of that page.
Please help me find the way
in web.config, set Umbraco use directory url to true, so that your page contact.aspx, will be yourwebsite/contact/.
An other way is to create a document type called section with no associated template that you could use to create section (they would look like folder since to be accessed, the url would be yourwebsite/section/yourpage.aspx.
Hope it helps.
Eric
Thank you for :" in web.config, set Umbraco use directory url to true, so that your page contact.aspx, will be yourwebsite/contact/."
but after that i get "The page cannot be found" and i am try to create a default.aspx under that page but it that not solved my problem
What version of IIS are you using? On older versions of IIS, only .aspx files are handled by .Net (and by extension Umbraco, as that's written in .Net). You may need to set up a wildcard mapping in IIS for your site so that folders, such as /contact/ get passed to Umbraco correctly. If you are using IIS6, follow the instructions here: http://professionalaspnet.com/archive/2007/07/27/Configure-IIS-for-Wildcard-Extensions-in-ASP.NET.aspx to enable extensionless URLs to work.
:)
Hi Tim,
I have same problem and i am using IIS 7.
Thanks for any help.
is working on a reply...