I&#39;m not sure I totally understand your question, but I&#39;ll tell you what works consistently for me with simplest possible set up on the server and no .htaccess or mod_rewrite complications. This just works.<br><br>I always have my Drupal root at the domain root. For example: <a href="http://www.example.com">http://www.example.com</a>.<br>
<br>If I need to put the site in a subdirectory, I will always create a sub-domain. For example, if the Drupal directory is at: <a href="http://example.com/drupal">example.com/drupal</a>, I will create a subdomain called <a href="http://drupal.example.com">drupal.example.com</a> that transforms <a href="http://example.com/drupal">example.com/drupal</a> into a domain root (<a href="http://drupal.example.com">drupal.example.com</a>). <br>
<br>One of the reasons I do this is that I find root-relative links to be the most stable for links inside text areas. So links that I create inside nodes or custom blocks to other places on the same site I&#39;ll make them root-relative which is like, &quot;/custompath&quot; or &quot;/longer/custompath&quot;. <br>
<br>Note however when you are in Drupal admin screens (as opposed to a node body or custom block) you don&#39;t put the forward slash at the beginning. Drupal itself doesn&#39;t have a hard time keeping track of where its root directory is and beginning with a forward slash will not work. <br>
<br>I&#39;ve had trouble with truly relative links created inside nodes, such as a link like &quot;custompath&quot; or &quot;node/1&quot;. Root-relative links take the guesswork out. But the downside of root-relative is that they always go to the domain root, even if the Drupal root is in a sub-directory.  And so that is why I use the subdomain trick in those situations because the sub-domain essentially changes the location of the domain root.<br>
<br>This system makes moving the site to another server, another domain, or another directory on the same server, really, really simple.<br><br>Hope this makes some sense to you.<br><br>This isn&#39;t necessarily the &quot;best&quot; way, it&#39;s the way I&#39;ve simplified things for myself so I don&#39;t have to be too much of a server geek and I get consistent results.<br>
<br>Shai<br><br><div class="gmail_quote">On Wed, Nov 18, 2009 at 7:41 PM, Néstor <span dir="ltr">&lt;<a href="mailto:rotsen@gmail.com">rotsen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have create a block that has some basic html links like<br>&lt;a href=&quot;/nestor/scroller612/as_dept/as_main&quot;&gt;Admin Services&lt;/a&gt;<br><br>This works but if I were to move my drupal site this will not work.<br>

<br>If I were to set the link as follows it will not work<br>&lt;a href=&quot;as_dept/as_main&quot;&gt;Admin Services&lt;/a&gt;<br><br>Now what is the proper way to point to a link ina drupal page?<br><br>How do you tell it to use the drupal site path + the location of the link  you want to access?<br>

<br>Thanks,<br><br>Nestor :-)<br>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>