---
title: "Add a link to a page"
slug: "add-a-link-to-a-page"
abstract: "Add and configure links to a page using components such as Link and Navigation."
---
# Add a link to a page

> [!note]
> This topic explains how to configure components previously built with Content Editor. To learn about components prototyped with the Components builder app instead, visit the [Components](https://doc.sitecore.com/sai/en/users/sitecoreai/design-components/components/prototyping-components.html "Prototyping components") documentation.

In Page builder, you can add links to a page using the Link list component, for example.

In a Link component, you can insert one of the following types of links:

- An external link - to a URL outside your site
- An internal link - to a page in your instance

    > [!note]
    > When you create an internal link, Sitecore uses the item ID to identify the item. This means that the link is not broken if you rename the item or restructure your site.

- A media link - to a media item from your Media library or a Content Hub asset if you have connected Content Hub DAM to your Sitecore instance.

To edit a link:

1. In a page containing a link, click on the link you want to modify.
2. In the right-hand pane, in the **Link type** field, click the drop-down menu and select the link type.
3. In the **Link text** field, enter the text that you want to appear as a hyperlink in your published content.
4. Specify what you want to link to:
    - For an external link, enter a **link text** and the **URL**.
    - For an internal link, enter a **link text**, then click **Browse** and select the page that you want to link to and click **Add link**.

        > [!note]
        > When you select a page, if *Context language* is selected in the language selector, then no language parameter is saved with the link. The link will open the specified page in the language that is current when a visitor clicks the link.
        >
        > Similarly, if you select *Context site* in the site selector, then no site parameter is saved with the link, and the site that is linked to depends on the location of the page in the content tree and how your sites are configured.

    - For a media link, enter a **link text**, then click **Browse** and select the media item or Content Hub asset that you want to link to. You can also upload new media if needed. Then click **Add selected**.
5. Edit the remaining fields as needed.

    | Field | Usage |
    | --- | --- |
    | **Link title** | Text displayed in a tooltip when a visitor hovers the cursor over the link. |
    | **URL query string** | Parameters for the URL, such as language and site. |
    | **Anchor** | To link to an anchor on an internal page, enter the anchor ID. (You must also insert the anchor.) |
    | **Open in new window** | Select this option if you want the browser to open a new tab or window when a visitor clicks the link. |

To remove the hyperlink, use the **Clear link value** button in the right-hand pane.