Article

Relative vs Absolute links for linking to other web pages

« Go Back

Information

 
Solution

Relative links

A relative link does not include the domain name of the website, it only points to a file or file path. When a user clicks a relative link, the browser takes them to that location on the site they're currently viewing. Relative links make it easy to do things like change your domain name, without having to go through all your pages, finding links and updating them. 

In your Springboard, to create a text link in a Collection Item Description field, use the following code format:

<a href="/what_we_do/programs_services.html">Take a look.</a>

html link in collection item description

Click Save & Close when done.

To create a link when editing Text content with the visual editor: 

  • Highlight the text you want to be the link.   Example: Find out more.
  • Click the link icon in the editor's tool bar.

create link with visual editor

  • Type or paste the partial URL into the URL field.    Example: /what_we_do/programs_services.html
  • Click OK and then Save & Close to close the Text block.

link in visual editor

Absolute links

An absolute link includes the complete website address. You must use absolute links when linking to another website, but you can also use absolute paths within your own website. Just be sure to keep track of the links and update them if you update your website domain name.

Follow the same steps as described above for a relative link, but include the entire website address:

<a href="http://www.website.com/what_we_do/programs_services.html">Find out more</a>