Copied to clipboard

Flag this post as spam?

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

  • Emmanuel Ramanyimi 17 posts 87 karma points
    May 14, 2019 @ 15:02
    Emmanuel Ramanyimi

    I have two (2) navigation:

    Desktop Navigation and Mobile Navigation


    below is the current code am using:

    IPublishedContent currentPageNode = Model.Content; IPublishedContent menuroot = Umbraco.TypedContentAtRoot().First().Children(x => x.DocumentTypeAlias == "menu").First();

    i want to be able to use the current url on multisite

  • Ronak Panchal 69 posts 228 karma points
    May 15, 2019 @ 11:31
    Ronak Panchal

    Hello Emmanuel Ramanyimi,

    you can set those 4 sites in same URLs as like

    Then there is an option in Umbraco like Culture and Hostnames where you can add the new domain and in that domain write like for 1st site for the second site and so on.

    Hope that will help,

    Ronak Panchal.

  • Matthew Wise 191 posts 799 karma points c-trib
    May 15, 2019 @ 15:28
    Matthew Wise


    If you user Umbraco.AssignedContentItem.Site() or anything that is the current page .Site() this will get you your root node for that site.


  • Emmanuel Ramanyimi 17 posts 87 karma points
    May 20, 2019 @ 09:30
    Emmanuel Ramanyimi

    thanks it works

Please Sign in or register to post replies

Write your reply to: