title: How do I get Sitecore's home url?
body: <p>How do I just get <a href="http://www.mysite.com/en" rel="noreferrer">http://www.mysite.com/en</a> the main part of the Site homepage url without the item path? Ultimately, I want to append the Model.Url to </p>
  
  <p>This:</p>
  
  <pre><code>Sitecore.Links.UrlOptions urlOptions = new Sitecore.Links.UrlOptions();
  urlOptions.AlwaysIncludeServerUrl = true;
  url = Sitecore.Links.LinkManager.GetItemUrl(Sitecore.Context.Item, urlOptions);
  </code></pre>
  
  <p>Gives me "<a href="http://www.mysite.com/en/undergraduate/business/new-information-landing-pages/Akron-stories" rel="noreferrer">http://www.mysite.com/en/undergraduate/business/new-information-landing-pages/Akron-stories</a>"</p>
  
  <pre><code>Model.Url
  </code></pre>
  
  <p>Gives me "/undergraduate/business/new-information-landing-pages/Akron-stories"</p>
  
  <pre><code>var context = new SitecoreContext();
  url = context.GetHomeItem&lt;Base_Page&gt;().URL;
  </code></pre>
  
  <p>Gives me "/"</p>