Skip navigation

Link to a Web Page from a Moodle Course

Students and instructors can create hypertext links anywhere they see an HTML Editor in Moodle. Instructors can also add a URL resource to a Moodle course page. This page explains how to create both kinds of links.

A note about tracking use of resources: Instructors can track whether URL Resources have been clicked by students (see Use Reports to Track Student Activity in Moodle). However, hypertext links added with the HTML Editor cannot be tracked, and will not show as Resources in the Activities block.

Create a Hyperlink in Text

Students and instructors can create a link within text (hyperlink) anywhere the HTML Editor appears in Moodle. For example, students can create links in Forum posts, and instructors can add links to Labels, Pages, Activity descriptions, etc.

Many instructors use this method to link to Resources or Activities already in a course. For example, if you were asking students to submit a written response to a reading, you could post the reading as a File resource on the course page, then, in the description for the Assignment activity, also provide a hyperlink to that file.

To create a hyperlink using the HTML Editor Toolbar:

  1. On your course page, click Turn editing on (top right). Editing icons and links will appear.
  2. To create a new Label, Activity, Page, Forum post, etc., at the bottom right of a Section, click + Add an activity or resource. The Activity chooser will open. Or click the Update icon (Screenshot of the Update Icon) for an item already in your course.
  3. On the Settings page for the item, in the text entry box, click Show editing tools to display the HTML editing tools.
  4.  Drag your cursor to select the text (or image) you would like to make into a link.
  5. Click Insert/edit link (Insert/edit link button). The Insert/Edit link pop-up window will open.
    Note: The Insert/edit link icon will only be clickable if content in the edit box has been selected.
  6. In the Link URL field, enter the Web address for the link.
    Note: To create a link to a Resource or Activity already in your Moodle course, on the course page, right-click the link to the item and choose Copy the link address. (Note: Options in the right-click context menu vary depending on the browser in use.)
  7. Click Insert. The Insert/edit link pop-up window will close.
  8. The text (or image) you selected will now be hyperlinked and will appear to be a different color. Click Save and return to course (or Post to forum for forum posts), then open the Resource or Activity and click the new link to ensure it opens correctly.

Add a URL Resource to a Course Page

Instructors can add a URL resource to a Topic or Weekly Section.

  1. On your course page, click Turn editing on (top right). Editing icons and links will appear.

  2. Locate the Section where you will add the link. (If you are using the Collapsed topics format, open the Section.)

  3. At the bottom of the section, click + Add an activity or resource. The Activity chooser will open.

  4. In the Activity chooser, scroll down to the Resources heading and select URL.

  5. Click Add. The Adding a new URL page will open.

  6. In the Adding a new URL page, fill in the required fields.

    • The Name field controls how the text of the link will appear on your course page.

    • The Description field will only appear to students if you check Display description on course page (below text entry box).

    • The External URL field is where you enter the URL of the website you wish to link to.

  7. Click the Appearance heading to view and adjust the settings. 
    Note: For Display, we recommend that you choose New Window. The Web page will open in another browser tab or window.

  8. When you have finished choosing settings, scroll to the bottom of the page and click Save and return to course.