Copied to clipboard

Flag this post as spam?

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


  • Raheel 62 posts 81 karma points
    Sep 09, 2010 @ 08:56
    Raheel
    0

    folder based URL's

    Hi Guys,

    I wanted to know if its possible to make folder based user:

    For instance if the url is: www.yourdomain.com/about-us.aspx

    How can I make it to www.yourdomain/abou-us/

    I am signed up to Umbraco TV. Is there any videos on this?

     

    Thanks

  • Bas Schouten 135 posts 233 karma points
    Sep 09, 2010 @ 08:59
  • Rik Helsen 670 posts 873 karma points
    Sep 09, 2010 @ 09:37
    Rik Helsen
    0

    Just change

        <add key="umbracoUseDirectoryUrls" value="false" />

    to

        <add key="umbracoUseDirectoryUrls" value="true" />

    in your web.config. All links generated by your nagivation drop the .Aspx part when you do this. Optionally you can still include additional URL rewrite rules to make sure no .Aspx pages are indexed in Google (changing this in the web.config won't prevent the .aspx pages from rendering, they continue to exist)

  • Raheel 62 posts 81 karma points
    Sep 09, 2010 @ 10:48
    Raheel
    0

    Awesome! Thanks guys... Love the quick replies.

    Gives me a good reason to learn more : )

    Cheers
    Raheel

Please Sign in or register to post replies

Write your reply to:

Draft