Internal linking on Shopify for AI search

How menus, breadcrumbs, related products, blog-to-product links and anchor text help crawlers and AI engines find and connect the pages on a Shopify store.

In short

Internal links are how crawlers find your pages and how they learn what each page is about. Google says it finds pages mainly through links from pages it already crawled, and that every page you care about should be linked from at least one other page. On Shopify that means a menu that reaches your key collections, breadcrumbs, related products you choose, guides that link to the products they discuss, and descriptive anchor text. Our reading: pages nobody links to are easy to miss.

A Shopify store is a set of pages connected by links. Some come from the theme: the header menu, the footer, the collection grid. Others are written by hand in a description or an article. Together, in our reading, they decide which pages a crawler reaches quickly, late or never.

For AI search this matters in a fairly unglamorous way. Our reading: an engine cannot cite a page it never fetched, and when it does fetch a page, the links on it are part of how it understands what sits nearby. A buying guide that links to the three products it recommends says something a guide with no links does not.

This article is about the links between pages. What goes on a collection page itself is covered in collection pages for AI search.

What Google says about links

Google's SEO starter guide says it "primarily finds pages through links from other pages it already crawled," and that link text tells users and Google something about the page being linked to.

Its link best practices add the specifics:

  • Use real links. Google says it can only crawl a link if it is an a element with an href attribute, so buttons that navigate with JavaScript, or menu items without a proper href, may not be followed.
  • Write descriptive anchor text. It should be "descriptive, reasonably concise, and relevant" to both pages. Avoid "click here" and "read more."
  • Do not stuff keywords. Google calls keyword stuffing a violation of its spam policies.
  • Link every page you care about. "Every page you care about should have a link from at least one other page on your site."

Google also says there is no ideal number of links on a page, and that "if you think it's too much, then it probably is."

The link layers on a Shopify store

LayerWhere it livesWhat it does wellTypical gap
Main menuOnline Store > NavigationReaches top collections from every pageStops at broad categories
FooterNavigation, footer menuPolicies, about, contactOverloaded or neglected
BreadcrumbsTheme setting or codeShows hierarchy, links upwardNot shown by every theme
Product recommendationsSearch & Discovery appLinks product to productLeft fully automatic
Body linksDescriptions, articlesSpecific, descriptive contextNot written at all

Typical gaps are our observations, not Shopify data.

Menus

Shopify's drop-down menu documentation allows a top-level item with up to two levels of nested items, and notes that some themes need extra work to show all three levels. In our experience that is enough depth for most stores. The mistake we see more often is the opposite: a menu that lists "Shop," "About" and "Blog," with every collection one click further down a page that links to them only through a filtered grid.

Put the collections people actually shop by in the menu, and give a guide or proof page that matters for buying decisions a place in the menu or footer.

Breadcrumbs

Google's breadcrumb documentation describes a breadcrumb trail as indicating "the page's position in the site hierarchy." On a product page, an illustrative trail like Home, then Sunscreen, then Kids mineral sunscreen, links upward to the collection and tells a crawler where the product belongs. Check whether your theme offers breadcrumbs as a setting; if not, a small snippet adds them. Add BreadcrumbList markup at the same time.

Related products

Shopify's Search & Discovery app lets you set up to ten related products and up to ten complementary products per product. Automatic recommendations draw on purchase history, product descriptions (English storefronts only) and related collections. For your key products, choose the links yourself: the refill for the starter kit, the matching strap, the sensitive-skin version of the bestseller. Whether recommendation blocks render as crawlable links depends on your theme, so check the page source.

Body links

In our experience these are the links stores most often lack, and we think they carry the most meaning: a sentence in a product description that links to the ingredient explainer, a buying guide that links to the four products it compares, a size chart linked from every product that needs one.

Guides and products should point at each other

In our view, the most useful pattern for AI search is a two-way link between content and products.

  • From guide to product. When an article recommends or explains a product, link it by name. An illustrative line such as "our starter set is built for this age," with the product name as the link, tells the reader and the crawler which product the answer refers to.
  • From product to guide. When a product page raises a question it cannot fully answer, such as how to choose a size or what an ingredient does, link the guide that does.
  • From collection to guide. A collection of 40 sunscreens is easier to choose from with a link to the guide that explains the difference between them.

Our reading is that this is also how a guide gets its product named in an answer: an engine reading it finds a clear, linked statement of which product fits which need. We think new pages need this most. During our sprint with Pipa Skin Care, nothing on the site was redesigned, and a new proof page went on to be cited in 10 of 60 ChatGPT answers. Our reading: a page does not need a redesign to be found, but it does need links from the pages around it. Pages that explain your ingredients or materials are another natural target; see ingredient and material pages.

Orphan pages and crawl depth

An orphan page is one that no other page on your site links to. On Shopify, the orphans we come across most are:

  • landing pages built for a campaign and never added to navigation,
  • blog articles older than the last few pages of the blog feed,
  • products that are not in any collection, or only in a hidden one,
  • FAQ, proof and about pages linked only from an email.

The sitemap Shopify generates automatically links to products, collections, blogs and pages, so a crawler can still find many of them, but nothing on your site says they matter. A quick check: export your product, page and article URLs, crawl the store with any site crawler, and compare. Anything in the export that the crawl did not reach is an orphan.

Crawl depth is the number of clicks from the homepage. Our view is that key products and guides belong close to it, linked from the menu, a collection's first page or a guide. If a bestseller sits behind a menu, a collection, page four of the grid and a filter, it is technically linked and practically hidden.

Anchor text on a store

In our experience, anchor text is where Shopify stores most often lose meaning without noticing.

WeakBetter
Shop nowShop the kids mineral sunscreen
Learn moreHow we test for sensitive skin
Click here for sizingSize guide for the travel duffel
Read moreMerino vs synthetic base layers

Vary it naturally. Linking to the same product with the exact same keyword phrase from 50 places looks like the keyword stuffing Google warns against.

A one-afternoon audit

CheckFix
Top collections in the main menuAdd the ones people shop by
Breadcrumbs on product pagesTurn on in theme or add snippet
Key products with chosen recommendationsSet related and complementary picks
Guides linking to products by nameAdd links in the body text
Products linking to guidesAdd one line to the description
Orphan pagesLink them or retire them
Generic anchor textRewrite the worst ten

None of this is new to SEO. Our reading of what changes with AI search is the cost of skipping it: a page an engine does not read cannot be the source of an answer. For the broader picture, see why a Shopify store is invisible in AI search.

Questions we get about this

Do footer links count as much as links in the body?

If they are real a elements with an href, they are crawlable links like any other, so they help a crawler find pages. Our reading is that links inside body text carry more context, because the surrounding sentence explains why the page is relevant. Use the footer for pages people expect there and the body for meaning.

Should every product link to every other product in its collection?

We would not. The collection page already does that. In our experience, product-to-product links work best when they are chosen: the variant for a different need, the accessory, the next size up.

AAnna Kapp

Article by

Anna Kapp
GEO Research & Customer Success

Anna Kapp looks after Alethia's customers and leads the team's GEO research, helping Shopify brands understand and improve how ChatGPT, Perplexity, Gemini and Google AI Mode recommend them. She also drives Alethia's own GEO and helps shape a better product with every insight she brings back. She loves turning complex topics into simple, clear explanations and connecting small details to the bigger picture. Outside work, you'll find her surfing, planning her next trip or hunting for the best black coffee in whatever city she's in.

No commitment

See how AI is selling your products.

Get your free Alethia AI report and see where your brand stands across the AI platforms your customers are already using.