Skip to content
Shopify & Ecommerce

Ecommerce Internal Linking: How to Build a Better Store Architecture

How to plan internal links across an online store: hierarchy, navigation, breadcrumbs, product modules, content links, anchor text, facets and audits.

Quick answer

Ecommerce internal linking means designing the links between a store's pages so shoppers and search engines can reach every important page and understand how they relate. Build a clear hierarchy (home, categories, subcategories, products) linked through navigation and breadcrumbs, add lateral links between related products and categories, and link from buying guides and blog posts to the categories and products they discuss. Use descriptive anchor text, keep links crawlable, avoid creating links to filter URLs you don't want indexed, and audit regularly for orphan pages, redirects and broken links.

Stores have thousands of pages that change constantly. Products are added, sell out and are discontinued; collections are created for campaigns and forgotten. Internal links decide which of these pages search engines find, how often they're revisited and how important they appear. They also decide how quickly shoppers reach a product.

This guide covers the link system. For the overall structure, see ecommerce website architecture; for menus specifically, see ecommerce navigation.

TypeWhereJob
NavigationalHeader menu, mega menu, footerReach main categories from anywhere
HierarchicalCategory grids, subcategory links, breadcrumbsMove down and back up the tree
LateralRelated products, “shop similar”, sibling categoriesConnect alternatives and complements
ContextualBuying guides, blog posts, product copyLink from research to the right products
UtilityHelp, policies, accountSupport, rarely an SEO priority

Build the Hierarchy First

The diagram above shows the backbone: home links to main categories, categories to subcategories and subcategories to products, with breadcrumbs linking back up. Keep important pages within a few clicks of the homepage through normal links. Every product should belong to at least one category that's linked from navigation.

Internal linking on a store is mostly template design. Decide once what each template links to, and every page of that type follows.

TemplateShould link to
HomepageMain categories, key subcategories, bestsellers, seasonal collections
CategorySubcategories, products (crawlable grid), paginated pages, related categories, relevant guide
ProductBreadcrumb categories, similar products, complementary products, brand page, sizing or care guide
Buying guideCategories and specific products discussed, related guides
Blog postRelevant categories and products, the guide it belongs to
Brand pageBrand's categories and top products

Breadcrumbs show where a page sits and link back to each level. On product pages, use one consistent primary path even when the product appears in several categories. Mark them up with BreadcrumbList structured data so search engines understand the hierarchy.

Related-product modules create lateral links that help both shoppers and crawlers. Make sure they're rendered as standard links, not only built by JavaScript after interaction, and that they're relevant: similar alternatives for comparison, complementary items for completing a purchase. Link between colour or style siblings when they're separate products. See ecommerce product recommendations.

Guides and blog posts can send context and shoppers to commercial pages. Link where it genuinely helps: a guide to choosing a rain jacket should link to the rain jacket category and to the specific jackets it compares. Link from older content with steady traffic to newer pages that need visibility.

Products buried too deep to be found?

ZSpace maps your store's link structure and redesigns templates so important pages are reachable and connected.

Start a Project

Anchor Text

Use descriptive anchors that say what the destination is: the category or product name, or a natural phrase that includes it. Vary phrasing in content, as people naturally do. Avoid generic anchors such as “click here”, and avoid repeating an identical exact-match phrase on every page, which reads unnaturally.

Every link to a filtered or sorted URL invites crawlers to request it. Google notes that rel=nofollow only works if every link to a URL carries it, and that robots.txt is more effective for keeping faceted URLs out of crawling (Google Search Central). The cleanest approach is to link to category and subcategory URLs, and to generate filter states without crawlable links where possible. See faceted navigation SEO.

Stock Changes and Redirects

When products are discontinued and redirected, internal links often keep pointing at the old URLs. Update them to the final destination so shoppers and crawlers don't pass through redirects, and remove links to pages that now return 404. Include this in the process for retiring products.

Search engines follow links in <a href> elements. Menus, product grids and recommendation modules that only create links after scripts run, or use click handlers instead of links, may not be followed reliably. Check the rendered HTML of key templates.

  • Crawl the site and compare discovered URLs with the sitemap
  • Find orphan pages: in the sitemap or analytics but not linked
  • Check click depth for important categories and products
  • List internal links pointing to redirects or 404s and update them
  • Review which pages receive the most internal links; are they the most important?
  • Check that product grids and recommendations render crawlable links
  • Look for links to filter and sort URLs that shouldn't be crawled
  • Confirm every product sits in at least one navigable category

Platform Notes

On Shopify, product links from collection pages may use the collection path; they canonicalize to the /products/ URL, but linking to /products/ directly keeps signals consistent. Menus are managed in Navigation, breadcrumbs are theme code, and related products come from the theme or the Search & Discovery app. See Shopify collection page SEO.

Want a store architecture that search engines and shoppers can follow?

Talk to ZSpace about ecommerce development, Shopify and information architecture.

Start a Project

Common Internal Linking Mistakes

  • Products reachable only through search or filters
  • Mega menus linking to every filter combination
  • Recommendation modules invisible to crawlers
  • Internal links pointing to redirected URLs
  • Guides with no links to the products they discuss
  • Footer stuffed with keyword links

Conclusion

Internal linking is store architecture made visible. Build the hierarchy, decide what each template links to, connect related products and content, keep links crawlable and current, and audit regularly. For the broader SEO system, see ecommerce SEO.

FAQ

Common questions

The system of links between pages on a store: menus, breadcrumbs, category grids, related products and links in content. It determines how shoppers and search engines discover products and which pages are treated as important.

Get in touch

Have a project in mind?

Whether you're building a new digital product, improving an existing website, or looking to automate part of your business — let's talk.