Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sudipta 2 posts 22 karma points
    Oct 21, 2009 @ 04:56
    Sudipta
    0

    How to create a content folder?

    I am totally new to umbraco. The question may be very basic to most of you. Well I want to create content section for my webpage something like

    www.mysite.com/products/camera-cannon

    www.mysite.com/products/new-arrival/printer-HP

    I want to organize the doctype (product) under sections like "products" or further down like "products/new-arrival/" etc. I have created the sub nodes like "products" and "products/new-arrival" under home in content section. But when I check the url of the added product in these nodes they come as

    www.mysite.com/camera-cannon.aspx

    www.mysite.com/printer-HP.aspx

    How to create the content section for better organized URL? Any pointer to existing articles?

    Thanks in advance.

    Regards,

    Sudipta

     

  • skiltz 501 posts 701 karma points
    Oct 21, 2009 @ 05:13
    skiltz
    0

    In your web.config you can change this:

    <

     

    add key="umbracoHideTopLevelNodeFromPath" value="false" />

    This should get you an url like www.mysite.com/products/camera-cannon.aspx

     

  • Rainmaker 3 posts 23 karma points
    Oct 21, 2009 @ 06:00
    Rainmaker
    0

    Or create a root node, for example "site content" and put all your hierarchy into it. Umbraco hides node "site content" from url and you'll get urls you want.

  • sravani 50 posts 70 karma points
    May 05, 2011 @ 16:26
    sravani
    0

    Hi All,

    While creating a content folder I got the error like

    Server Error in '/' Application.

    The local name for elements or attributes cannot be null or an empty string.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: The local name for elements or attributes cannot be null or an empty string.

    Any ideas pls share with me...... :(

     

    Thanks in advance...

Please Sign in or register to post replies

Write your reply to:

Draft