Drupal Enterprise 7: Types of Links in your Content

The following instructions are for websites using the default UMN Drupal Enterprise 7 configuration.
 
In your website, there are two general types of links: External links and Internal links.

External Links

These are links to locations elsewhere on the internet. Whenever you create a link to an external website, you should always use the full URL, which begins with http:// or https://. Best practice is to navigate to the page you want to link to, and copy the full URL as it appears in the web browser's address bar.

Internal Links

These are links to other pages within your website. Standard practice for creating internal links is to use the relative reference to the content. In the University's standard Drupal installation, it is best to always use the Linkit tool to insert links to other content on your site. The primary reason to use the Linkit tool is that it will use a relative reference to the content. This is beneficial in the University's Drupal environment, since every website consists of at least three environments (development, staging, production). By using relative references for links, the links are preserved wherever you are located. As an example, inserting a relative reference to /faculty/Professor-Plum will work in all of the environments:

  • yoursite-development.umn.edu/faculty/Professor-Plum
  • yoursite-stage.umn.edu/faculty/Professor-Plum
  • yoursite.umn.edu/faculty/Professor-Plum