Link tags on Squarespace

Where the link tags go on Squarespace, and the one mistake that turns every page into a copy of one page.

The tag tells AI tools where your files are.

Your page's tags are in the dashboard, under Setup and then Install tags. They carry the real file addresses for that page, so they work as soon as the page is live. This guide is about where they go once you have them.

Where it goes on Squarespace

In Squarespace: open the page, then its settings, then Advanced, and paste this into the page header code injection box.

  1. Open the page, then its settings, then Advanced.
  2. Find the page header code injection box.
  3. Paste these tags and save.
Heads upPut it on this one page only, not in a header that every page shares.

What that covers

This block covers the one page whose settings you pasted it into.

Heads upThe site-wide box under Settings, Advanced, Code injection would put this page's file names on every page.

Covering every page

To cover every page from one place, your template has to build the file name from the page's own address. That is a small change to your site's code, not a block you can paste. The naming rule is shown with it, and these tags are exactly what it should produce for this page.

The naming rule those tags follow:

  • your home page (/) becomes index
  • /technology becomes technology
  • /docs/setup/ becomes docs/setup

and humans.txt describe the whole site. They are the same address on every page and never take a page name.

Link tags on Squarespace | Geordy Docs