Link tags on Shopify

Shopify serves one head for every page, so there is nothing to paste. What to do instead.

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.

Shopify has no per-page head

Shopify serves one head for your whole store, so there is no per-page box to paste this into. Whoever edits your theme has to build each page's file name from the page's own address.

  1. Shopify serves one head for your whole theme, so there is no per-page box to paste this into.
  2. Open Online Store, then Themes, then Edit code, and find layout/theme.liquid.
  3. Whoever maintains your theme needs to build the file name from the page's own address there, using the naming rule in this step. The tags in this step are exactly what that should produce for this page.
Heads upDropping this block into that shared file as it is would give every page these same file names.

What that covers

Shopify has no per-page head, so this block is what your theme should produce for this page, not something to paste as it is.

Heads upPasting it into layout/theme.liquid would put this page's file names on every page in your store.

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 Shopify | Geordy Docs