title: Relative URLs in Sharepoint master page
body: <p>I have a master page with tabs. The tabs are defined by the following sitemap file:</p>
  
  <pre><code>&lt;siteMap&gt;
      &lt;siteMapNode title="Home" url="~/" &gt;
          &lt;siteMapNode title="Schedule" url="~/Pages/Tab2.aspx"/&gt;      
          &lt;siteMapNode title="Deliverables" url="~/Pages/Tab3.aspx"/&gt;
          &lt;siteMapNode title="My Items" url="~/Pages/Tab4.aspx"/&gt;
          &lt;siteMapNode title="Management" url="~/Pages/Tab5.aspx"/&gt;
          &lt;siteMapNode title="Working Docs" url="~/Pages/Tab6.aspx"/&gt;
      &lt;/siteMapNode&gt;
  &lt;/siteMap&gt;
  </code></pre>
  
  <p>The problem is that on my subsites, clicking on a tab keeps taking me back to the root.  For example, I want the schedule link to go to <a href="http://Server/Subsite/Pages/Tab2.aspx" rel="nofollow noreferrer">http://Server/Subsite/Pages/Tab2.aspx</a>.  Instead, what I am getting is <a href="http://Server/Pages/Tab2.aspx" rel="nofollow noreferrer">http://Server/Pages/Tab2.aspx</a>.  I read that having a tilde at the beginning of the link would solve this problem but it doesn't.</p>