Try our conversational search powered by Generative AI!

Multi-Root site URL to other rootnode with own hostname

Vote:
 

Hey guys,

i have the following problem:

i have 2 homepage in my CMS, NL and EN

both are setup using different urls  http://nl.local and the other as http://en.local

Now i have a LinkItemCollection property (footerlinks), and for the NL homepage, i add in the property the EN homepage as a link. (chosen from tree).

Now if i iterate thru the items on my NL homepage, i get for the EN page the url http://nl.local/en , but the url should be http://en.local/  

 @if (footerLinks != null && footerLinks.Any())
                    {
                        foreach (var link in footerLinks)
                        {
                            var url = link.Href;
                            var title = link.Text;
                            var target = link.Target;
                            
  • @Html.ContentLink(link) @*@title*@
  • } }

    How can i get the correct url here to the hostname of the other site?

    #120578
    Apr 21, 2015 8:01
    Vote:
     

    Hi Vishal!

    Which version of EPiServer CMS are you on? I think that this area has had some changes that might affect this in the latest releases.

    #120649
    Apr 22, 2015 8:39
    Vote:
     

    Hi Linus,

    i'm on the latest CMS 8 version, and all the latest updates installed... I remember that this worked fine. Until i did some latest NuGet updates and then i got this behavior..

    Is this a bug? 

    #120653
    Apr 22, 2015 9:09
    Vote:
     

    any news on this ?? 

    #120728
    Apr 23, 2015 14:33
    Vote:
     

    Hi!

    I have forwarded this to the team that's responsible for this area. They have not have time to look on this yet, but I hope they get it soon. If nothing happens within a few days, I suggest that you raise a support issue.

    #120844
    Apr 27, 2015 6:46
    Vote:
     

    where can i raise a support issue? 

    #120941
    Apr 28, 2015 14:41
    This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
    * You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.