Note: While our most popular guides have been translated into Spanish, some guides are only available in English.

Adding links to your site

You can link to pages, external sites, files, email addresses, phone numbers, or internal content in many areas of your site.

This guide covers links that visitors can click on your site. To learn more about linking visitors to your website from elsewhere, visit Sharing URLs from your site.

Where you can add links

You can add links to almost any part of your site. For steps on adding various types of links, visit the corresponding guide:

  • Text - Create links almost anywhere you can add text.
  • Navigation - Add links to your site's navigation structure.
  • Images - Turn images into links.
  • Button Blocks - Add buttons to content areas.
  • Cover Pages - Add links or buttons in the Actions panel of Cover Pages.

What you can link to

Depending on where you create the link, you can link to:

Link to external sites

Use the Web Address tab when you want to link to external sites or content, such as the website for a friend's business or a third-party service you use with your site.

To link to an external URL:

  1. Click the gear icon in the URL field.
  2. Click Web Address in the link editor.
  3. Enter a site URL under Link.
  4. Switch the Open in New Window toggle on to have the link open in a new tab.
  5. Click Save.
Notes: It isn't possible to automatically force links to open in an entirely new browser window, as this can cause issues with a browser's pop-up blocker.

We recommend using the Page tab to link to pages on your site, but you may want to use the web address option to link to content on your own site that you can't otherwise link to, such as:

Link to your site's content

Use the Page tab to link to pages on your site or collections filtered by categories or tags.

To add a link to your site's content:

  1. Click the gear icon in the URL field.
  2. Click Page in the link editor.
  3. Click into Search to open a menu of all the pages on your site.
  4. Select the page you want to link.
  5. If it's a collection with categories or tags, select the category or tag from the drop-down menu under Categories or TagsTo learn more, visit Adding links to categories or tags.
  6. Switch the Open in New Window toggle on to have the link open in a new tab.
  7. Click Save.

Keep in mind:

  • If you change a source page's URL slug, open the link and reselect the page in the Page tab to update the link.
  • To link to an individual blog post, event, product, or gallery image rather than a group of them filtered by tags or categories, add its complete URL in the Web Address tab.
  • Linking to an Index's sub-page takes visitors to a standalone version of the page. To link to a sub-page within the main Index layout, add an Index anchor link in the Web Address tab.
  • Content links set to Open in New Window open in the same tab when you're logged into your site. When you're logged out or visiting the site in an incognito browser, they open in a new tab as expected.

Link to email addresses

Use the Email tab to encourage visitors to email you. When visitors click the link, it opens a blank email in their default email service and automatically populates it with your information.

To link to an email address:

  1. Click the gear icon in the URL field.
  2. Click Email in the link editor.
  3. Under To, enter the email address you want visitors to send their message to.
  4. Under Subject, enter a subject to populate the email's subject line.
  5. You can also enter body text, a cc email address, and a bcc email address if you want. Keep in mind visitors who click the email link can edit any populated fields before sending an email.
  6. Click Save.
Note: If your visitor doesn't have an email program installed on their device, the email link won't open. They'll need to copy your email address manually from the link.

Add other ways for visitors to email you

  • Some people prefer not to show their email address for privacy reasons. To encourage emails without showing your address, add a contact form using a Form Block. This provides a layer of security, and you can respond directly to a form submission by email.
  • For a more visual approach, you can add your email address as a social icon. This creates an envelope icon with a "mailto" link that appears with your other social icons.
  • Add a mobile information bar to give visitors quick access to your contact information on the go.

Link to phone numbers

Use the Phone tab to encourage visitors to call you. When a visitor taps the link from a smartphone, it prompts them to call the number.

Note: If you add a phone number as plain text without linking to it, its formatting will vary across devices. Some devices automatically detect it's a phone number and show it as a link. To ensure it always displays as a link, follow the steps below.

To link to a phone number:

  1. Click the gear icon in the URL field.
  2. Click Phone in the link editor.
  3. Under Phone Number, enter your phone number, including country code and area code, if applicable.
  4. Click Save.

Add other ways for visitors to call you

Add a mobile information bar to give visitors quick access to call you on the go.

Link to files

Use the File tab to upload and link to files, like .pdf menus or audio files. Depending on the browser and file type, uploaded files will download automatically or open in new tabs, where visitors can view them or save them to their computer.

To link to a file:

  1. Click the gear icon in the URL field.
  2. Click File in the link editor.
  3. Click Upload File to select a file from your computer, or search for a previously uploaded file.
  4. After uploading or searching, click the file you want to link. A checkmark appears beside the selected file.
  5. Click Save.

To learn more, visit Uploading and managing files.

Link to a collection item

You can link to most content on your site using the Page tab of the link editor, but for collection items (blog posts, events, and product items), you'll need to set up the links manually in the Web Address tab.

To link to a collection item:

  1. Open the item you want to link to in a private browser.
  2. Copy the item's full URL, including your domain name.
  3. Open a link editor on your site and click the Web Address tab.
  4. Paste the item's full URL into the Link field.
  5. Click Save.

Change how a link opens

To change how a Web AddressPage, or File link opens, go to the editing area where you added the link. This could be a clickthrough URL, Button Block, navigation linkCover Page action, or text link.

  • To open the link in a new tab, switch the Open in New Window toggle on.
  • To open the link in the same tab, switch the Open in New Window toggle off.
  • If you're editing in the Squarespace App and don't see the toggle, use a computer to change how the link opens.

Squarespace doesn't support setting links to open in an entirely new window, since this can cause issues with a browser's pop-up blocker.

How the link opens is ultimately up to the visitor and how they use their browser. Even if a link is set to open in the same tab, visitors can open it in a new tab using shortcuts.

Links in Gallery Blocks

Only the Grid Gallery Block supports opening clickthrough URLs in a new tab.

In a Grid Gallery Block, set clickthrough URL links to open in a new tab by checking the option in the Design tab. This option applies to all images in the Grid Gallery Block.

  1. While editing the page, hover over the Grid Gallery Block and click Edit.
  2. Click the Design tab.
  3. Scroll down and check or uncheck Open Links in New Window.
  4. Click Apply to save your changes.

Troubleshooting

For help with broken links and other issues, visit Troubleshooting link issues.

Was this article helpful?
90 out of 230 found this helpful