Send visitors to pages on your site, external content, email addresses, files, and more.
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 (version 7.0) - 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:
- Email addresses
- External sites or pages
- Files
- Content or posts filtered by a tag or category
- Pages on your site
- Phone numbers
- Specific points on a page (anchor links)
- Specific images within a gallery page, or deeplink URLs (version 7.0 only)
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:
- Click
in the URL field.
- Click Web Address in the link editor.
- Enter a site URL under Link.
- Switch the Open in New Window toggle on to have the link open in a new tab.
- Click Save, then click Apply or 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:
- Click
in the URL field.
- Click Page in the link editor.
- Click into Search to open a menu of all the pages on your site.
- Select the page you want to link.
- If it's a collection with categories or tags, select the category or tag from the drop-down menu under Categories or Tags. To learn more, visit Adding links to categories or tags.
- Switch the Open in New Window toggle on to have the link open in a new tab.
- Click Save, then click Apply or 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.
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:
- Click
in the URL field.
- Click Email in the link editor.
- Under To, enter the email address you want visitors to send their message to. It's not possible to add multiple email addresses.
- Under Subject, enter a subject to populate the email's subject line.
- 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, and formatting may vary depending on the email service.
- Click Save, then click Apply or 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:
- Click
in the URL field.
- Click Phone in the link editor.
- Under Phone Number, enter your phone number, including country code and area code, if applicable. Don't include 0 at the beginning of the number, as this may cause the link to fail.
- Click Save, then click Apply or 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, size charts, 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:
- Click
in the URL field.
- Click File in the link editor.
- Click Upload File to select a file from your computer, or search for a previously uploaded file.
- After uploading or searching, click the file you want to link. A checkmark appears beside the selected file.
- Click Save, then click Apply or 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:
- Open the item you want to link to in a private browser.
- Copy the item's full URL, including your domain name.
- Open a link editor on your site and click the Web Address tab.
- Paste the item's full URL into the Link field.
- Click Save, then click Apply or Save.
Change how a link opens
To change how a web address, page, or file link opens, go to the editing area where you added the link. This could be a clickthrough URL, button block, navigation link, cover 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.
Keep in mind:
- 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.
- Links to your site's content 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.
- 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.
- While editing the page, hover over the grid gallery block and click Edit.
- Click the Design tab.
- Scroll down and check or uncheck Open Links in New Window.
- Click Apply to save your changes.
Troubleshooting
For help with broken links and other issues, visit Troubleshooting link issues.