Creating Internal Links

×

Missatge d'estat

If you have any questions about this page or if you find any errors, please write a message to the support wall and a Labdoo volunteer will help resolve it. Thank you for helping to improve our wiki pages.

If you need to create a link to a page that lives inside www.labdoo.org (for instance, a link to another wiki page), it's important to use relative paths starting with the string ../. For instance, if you want to create a link to this wiki page, follow this example:

<a href="../content/creating-internal-links">An example link to this wiki page</a>

Which generates this link:
An example link to this wiki page

Using the string ../ in front of your internal links serves two goals:

  • It generates a relative path, so that the link can be used independent of the URL base path (this is helpful for instance in development mode or when cloning the wiki to other hosts).
  • It allows the link to work regardless of the language selected by the user. (You can test this feature by changing the language of this page and then clicking on the link, it should take you to this same page while preserving the selected language.)

Continue reading to the next page:
Wiki Translations


Go back to read the previous page:
Special HTML tags