Copied to clipboard

Flag this post as spam?

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


  • Peng 41 posts 62 karma points
    Jul 14, 2010 @ 03:23
    Peng
    0

    Multiple sites - site A url + site B link to homepage

    HI guys,

     

    I got one umbraco instances with 3 sites sitting on it.

    Background:

    Vic site

    site node name: Home      

    link to document: /home.aspx

    alternative links: http://domain

                                    http://www.domain

     

    NSW site

    site node name: NSW Home

    link to document: /nsw-home.aspx

    alternative links: http://domainnsw

                                    http://www.domainnsw

     

    QLD site

    site node name: Qld-Home

    link to document: /qld-home.aspx

    alternative links: http://domainqld

                                    http://www.domainqld

     

    Scenario:

    Load http://domainqld/home.aspx loads qld template with VIC content

    Current solution: Add a node with name “home” under qld site and redirect to qld home node

     

    But http://www.domainnsw/qld-home.aspx loads nsw homepage template with qld content

     

    Is there any better way to make sure each home page (*home.aspx) can only be used under its own site?

     

    Regards,

     

    Peng

  • Paul Blair 466 posts 731 karma points
    Jul 14, 2010 @ 03:57
    Paul Blair
    1

    in /config/umbracoSettings.config set useDomainPrefixes to true and right click on each site home page and choose manage hostnames

  • Peng 41 posts 62 karma points
    Jul 14, 2010 @ 10:12
    Peng
    0

    Thanks for the tip!  Paul.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies