Links-Templates and CMS - Carnegie Mellon University

Links

You can create links to another page on your website, a document, an external website, or an email address.

Internal Link

An internal link is a link to another page or document (e.g., PDF, Word Doc) within your site. Follow the steps below to create an internal link.

  1. Select the text (or image) that you would like to make into a link (always use relevant text or keywords for your link, and not generic words like "click here").
  2. Click the Insert/Edit link button.

    Links Button
  3. Click the browse icon. 
  4. Use the folder structure to find the page or document you'd like to link to and click Confirm.
  5. Note: If you are linking to a document (e.g., PDF, Word Doc, etc.) change the Target to New Window. An additional description of what you are linking to is optional.

    Create Link
  6. Click Insert.

External Link

An external link is a link that takes you to a web page outside of your website, including all other CMU-affiliated websites. As a rule of thumb, if you're linking to something that does not reside on your specific site, it should be considered an external link.

  1. Follow steps 1-2 of the Internal Link section.
  2. Change the radio button to External.
  3. Insert the URL in the Link field including the http://.
  4. Change the Target to New Window. An additional description of what you are linking to is optional.

    External Link
  5. Click Insert.

Link to an Email Address

Follow the for External Link, however in the Link field insert mailto: immediately followed by the email address (do not include any spaces), such as: mailto:your-address@andrew.cmu.edu

You may also specify what the subject line of the email should be by entering the following:

mailto:your-address@andrew.cmu.edu?subject=Your Specified Subject Line

Consider using reCAPTCHA if you are concerned about receiving spam emails from posting an email address on your website.

Edit an Existing Link

To edit an existing link, select or click anywhere on the linked text (or image) and click the Insert/Edit link button. Make your changes and click Update.

Remove a Link

To remove a link, select or click anywhere on the linked text (or image) and click the Unlink button.

Best Practices For Links

Link relevant text, and not words like "click here"

  • Bad practice: To take the Virtual Tour click here.
  • Good practice: To learn more about the CMU campus, please take the Virtual Tour.

New window vs. same window

  • Links taking users away from your website (including links to other CMU-affiliated websites) should open in a new window.
  • Links to pages within your website should open in the same window.
  • Links to documents (e.g, PDFs, Word Docs, etc.) should open in a new window as users will typically close a window when they're done viewing a document.

Label document links

  • Links to documents (e.g., PDFs, Word Docs, etc.) that launch applications should be labeled, such as: Campus Map [pdf]

Warn users when links require a login

  • Good example: Staff Information [login required].

Reserve underlined text for links

  • The CMS will automatically style links to be underlined; it is not recommended to assign an underline to any other type of text.

Be selective when using anchored links

  • In the past, anchored links were used to "jump" a user to a specific section of a lengthy page containing a lot of content. As shorter, easily-scannable pages have become preferrable, the use of anchored links has fallen out of favor. However, there may still be a practical need for using anchored links, such as an alphabetical directory. Learn how to create anchored links for this purpose.