Copied to clipboard

Flag this post as spam?

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


  • Ed 3 posts 23 karma points
    Nov 29, 2013 @ 13:45
    Ed
    0

    Same site, multiple brands

    Hi, I'm not sure if this is the correct area for this question, but I'm very new to Umbraco and have a requirement to set up a site where different customers will access the same site, but see it with their own brand. It must be the same site in IIS and re-using the same razor views and related code, but our business teams have a requirement to set up a new customer for the same site, with their own values for the configurable content data via Umbraco without relying on support or developer involvement.

    eg. Site URL is www.mysite.com

    Customer from ClientA visits (maybe via URL www.mysite.com/ClientA or perhaps www.mysite.com?brand=ClientA) and sees the version branded for them.

    A customer from ClientB should be able to visit the same site but passing in their brand code instead and see their customized version.

    My first question is: Is this acheivable? If so, what is the correct way to do it?

    I want to maximise code re-use.

    Any help or pointers would be hugely appreciated.

    Thanks in advance.

  • Ed 3 posts 23 karma points
    Dec 02, 2013 @ 09:33
    Ed
    0

    So after some thinking this through and a helpful answer on StackOverflow, I'm of the opinion that the best way to achieve this is using my own folder structure for content and putting a handler into the default.aspx page to route things according to the brand. I think I should then be able to write / extend helpers to follow an "inheritance" hierarchy, so that if content or settings haven't been overwritten in a particular brand, it picks up the default values. If anyone reads this and considers it a bad idea or thinks they have a better approach, I'd love to know about it as I'm new to Umbraco.

    Many thanks.

Please Sign in or register to post replies

Write your reply to:

Draft