title: How to find page in folder when using master page asp.net
body: <p>When my pages are in the main level of the solution, the menu item href can find the content pages. When I put the content pages in a subfolder and change the href path respectively it cannot find the page. This seems to only be a problem with MasterPages. Am I missing something here? I get the error
  Server Error in '/' Application The resource cannot be found HTTP 404.
  Requested URL: /Pages/Pages/Items.aspx </p>
  
  <p>Why does it add another /Pages in front of my path?</p>
  
  <p>Solution</p>
  
  <pre><code>Project
    +Images
    -Pages
        Items.aspx
        Library.aspx
    +Styles
    Default.aspx
    Site.Master
  </code></pre>
  
  <p>MasterPage</p>
  
  <pre><code>  &lt;div id="tabdiv" class="tabdiv"&gt;
       &lt;ul id="tabmenu" class="tabmenu"&gt;
  
           &lt;li&gt;&lt;a href="Pages/Items.aspx" class="separator"&gt;Items&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href="Pages/Library.aspx"&gt;Library&lt;/a&gt;&lt;/li&gt;
  
       &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div id="main" class="main"&gt;
         &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"&gt;
         &lt;/asp:ContentPlaceHolder&gt;
    &lt;/div&gt;
  </code></pre>