Copied to clipboard

Flag this post as spam?

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


  • ianhoughton 281 posts 605 karma points c-trib
    Oct 04, 2012 @ 16:58
    ianhoughton
    0

    Flat structure for website or URL rewrite ?

    I'm currently developing a site where we have this structure:

    • home
    • home/personal.aspx
    • home/personal/page1.aspx
    • home/personal/page2.aspx
    • home/personal/page3.aspx
    • home/business.aspx
    • home/business/somethingelse1.aspx
    • home/business/somethingelse2.aspx
    • home/business/somethingelse2.aspx

    I would like to change the URL's to be like this for SEO purposes:

    • home
    • home/personal.aspx
    • home/page1.aspx
    • home/page2.aspx
    • home/page3.aspx
    • home/business.aspx
    • home/somethingelse1.aspx
    • home/somethingelse2.aspx
    • home/somethingelse2.aspx

    The way we achieved this on a previous project was to seperate the menu structure from the website structure (i.e have 2 trees, the menu tree had the heirarchy and used content pickers, the actual content was in a flat structure for URL's). This worked very well for SEO, but was a pain for the content editors to keep in sync. I've looked at using umbracoUrlAlias, but this doesn't really cut it. Anyone else come across this scenario ?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Oct 04, 2012 @ 18:33
    Jeroen Breuer
    0

    Haven't really found a good solution for this either. I guess url rewrite is the best option I think.

    Jeroen

  • Adam Prendergast 33 posts 77 karma points MVP c-trib
    Oct 09, 2012 @ 11:22
    Adam Prendergast
    0

    We regularly set up a Url Redirect area under the contact node (next to home). This has child nodes that have 301 & 302 redirect properties using the a content picker.

    That way you can simply create redirects without having to use htaccess.

    http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracoredirect

    http://our.umbraco.org/projects/backoffice-extensions/permanent-redirect

     

     

Please Sign in or register to post replies

Write your reply to:

Draft