[support] how to handle internal links

Laura Scott laura at pingv.com
Tue Jul 4 18:17:04 UTC 2006


In Drupal 4.7, you would link to <a href="/node/99">now here I have  
linked to node 99</a> (with the leading slash, which references the  
root of the install, I believe).

Laura


On Jul 4, 2006, at 10:10 AM, Ray Zimmerman wrote:

> I'm building a site that is currently in a sub-directory of my web  
> server document root, but when it is finally deployed it will be in  
> the document root. So currently node 99 is at, e.g.
>
>    http://example.com/dev/node/99
>
> ... but when I deploy the site it will be at ...
>
>    http://example.com/node/99
>
> My question is, what is the best way to link to node/99 from the  
> body of another node, and have it work on my dev server as well as  
> the production server? Is there an input filter that converts a URL  
> that is relative to drupal's root into an absolute URL?
>
> 	Ray
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]



More information about the support mailing list