Copied to clipboard

Flag this post as spam?

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


  • Jules 273 posts 584 karma points
    Oct 18, 2012 @ 14:59
    Jules
    0

    Best Practice for creating Multiple related websites in Umbraco

    Hi

    Using U4.9 and Razor

    We are currently creating 2 websites in an Umbraco installation that will have some pages that will share the same content.

    For the sake of simplicity, the content structure would be as follows where the Site1 and Site2 nodes would both have different URLs and the content of news pages would potentially be shared between the 2 sites.

    Content
    Site1Home
    News
    NewsItem2
    NewsItem3
    Other Shared Content
    Items...
    About Us
    etc...
    Site2Home
    News
    NewsItem1
    NewsItem3
    Other Shared Content
    Items...
    About Us
    etc...
    News
    NewsItem1
    NewsItem2
    NewsItem3
    Other Shared Content
    Shared Content Items

    For news and any other shared content, I would create top level nodes as above.

    Each site would be based on different templates but the news pages and other shared pages will be based on the same document type.

    This should make it very easy in Razor to render out the appropriate child nodes based upon flags within the document types indicating which sites the item should appear on.

    I guess to a large extent I am answering my own questions here but I just want to put it out there and see if anybody has done anything similar and whether there are any pitfalls to this method of doing things.

    Cheers

    J

Please Sign in or register to post replies

Write your reply to:

Draft