[drupal-docs] How to insert the documentation readers drupal site url into your documentation

Boris Mann borismann at gmail.com
Mon Mar 7 18:00:44 UTC 2005


On Mon, 7 Mar 2005 09:35:43 -0800, Kieran Lal <kieran at civicspacelabs.org> wrote:
> I am seeing this recurring problem.   An end user is reading drupal
> documentation and would like to click on a link to take them to their
> site to attempt to try configuration.   Of course since the
> documentation is general it can't have the url of the readers site in
> it.  Or can it?

Use relative URLs in the documentation -- e.g.
admin/comment/list/approval will work on all Drupal systems.

In general, you should always be using relative URLs for local links,
since they will continue to work no matter where you move them (e.g.
staging server, temporary subdomain, local testing, etc.).

--
Boris Mann
http://www.bryght.com



More information about the drupal-docs mailing list