Strategy Instead of Chance
Most Magento stores waste link equity because internal links are placed by chance instead of by design. Directing PageRank deliberately to category and product pages, choosing anchor text with intent, and consistently hunting down orphan pages improves rankings without a single external backlink. This article shows concrete methods, tools and Magento-specific implementations for a resilient internal linking strategy.
Table of Contents
- 1. How internal linking distributes PageRank and link equity across the store
- 2. Anchor text strategy: descriptive instead of "click here"
- 3. Identifying and fixing orphan pages
- 4. Breadcrumbs as structured internal links
- 5. Related products and related content widgets as an SEO tool
- 6. Sensible click depth and category structure
- 7. Implementing internal linking technically in Magento
- 8. Internal link audits: tools and methodology
- 9. Linking strategies compared
- 10. Summary
- 11. FAQ
1. How internal linking distributes PageRank and link equity across the store
Every internal link passes on a share of the link equity (link juice) from the linking page to the linked page, similar to an external backlink, except Google does not treat it as an independent source. The homepage typically collects the largest share of external backlinks and therefore holds the highest PageRank value in the store. Without deliberate internal linking, however, this link equity stays concentrated on the homepage and main navigation, while revenue-driving category and product pages barely benefit from it.
In practice, PageRank is distributed according to the number and position of outgoing links on a page: a page with 200 equally weighted links passes noticeably less strength to each individual link than a page with 20 carefully chosen links. This is exactly where the strategic lever sits: instead of linking every page uniformly through the same mega menu and footer, high-margin categories and seasonal campaign pages should receive targeted additional internal links from thematically relevant content pages, blog articles and product descriptions. That way you direct link equity to where it produces the biggest ranking effect.
2. Anchor text strategy: descriptive instead of "click here"
The anchor text of an internal link is a direct relevance signal to Google for the linked page, often weighted more heavily than with external links because you, as the site owner, have full control over the wording. Generic anchor texts like "click here" or "learn more" waste this signal completely because they establish no topical connection to the target page. A link with the anchor text "waterproof hiking boots for women", by contrast, signals exactly what the target page is relevant for and strengthens its topical classification in the search index.
Even so, the exact target keyword anchor should not be repeated identically for every link: an unnaturally high density of identical money-keyword anchors looks manipulative and, combined with other signals, can even work against rankings. A mix of exact keyword anchor, partial variants, brand names and natural-language phrasing has proven effective. This variance matches natural linking behavior and appears more credible to Google than rigid repetition.
<!-- Bad: generic anchor text carries no relevance signal -->
<a href="/women/hiking-boots-waterproof.html">click here</a>
<a href="/women/hiking-boots-waterproof.html">learn more</a>
<!-- Good: descriptive, keyword-relevant anchor text -->
<a href="/women/hiking-boots-waterproof.html">waterproof hiking boots for women</a>
<!-- Good: natural variation across multiple links to the same target -->
<a href="/women/hiking-boots-waterproof.html">waterproof hiking boots</a>
<a href="/women/hiking-boots-waterproof.html">our outdoor footwear range</a>
3. Identifying and fixing orphan pages
An orphan page is an indexable page that no internal link points to anymore. Crawlers and users can only reach it via a direct URL or the XML sitemap, not through the regular site structure. In Magento stores, orphan pages typically arise from expired campaign landing pages, CMS pages never added to a menu, discontinued seasonal categories whose navigation entry was removed, or blog articles that were never linked from other posts. Without incoming internal links, these pages receive no PageRank at all and get crawled by Google less and less frequently, until they effectively disappear from the index.
The most reliable detection method is comparing a full crawl starting from the homepage against the list of all URLs in the XML sitemap or Google Search Console. Any URL that appears in the sitemap but is not reached by the crawl is an orphan page. Fixing it depends on the page's relevance: either add targeted internal links from thematically matching content, add the page to the main menu or related content widgets, or, for genuinely obsolete content, remove it consistently via a 301 redirect.
#!/bin/bash
# Compare sitemap URLs against a full crawl to find orphan pages
# 1. Extract all URLs from the XML sitemap
curl -s https://mironsoft.de/sitemap.xml | grep -oP '(?<=<loc>)[^<]+' | sort > sitemap-urls.txt
# 2. Crawl the site starting from the homepage, collect internal links only
screamingfrogcli --crawl https://mironsoft.de \
--headless --save-crawl \
--output-folder ./crawl-report \
--export-tabs "Internal:All"
# 3. Extract crawled URLs from the export
tail -n +2 ./crawl-report/internal_all.csv | cut -d',' -f1 | sort > crawled-urls.txt
# 4. URLs present in the sitemap but missing from the crawl are orphan pages
comm -23 sitemap-urls.txt crawled-urls.txt > orphan-pages.txt
echo "Found $(wc -l < orphan-pages.txt) orphan pages"
4. Breadcrumbs as structured internal links
Breadcrumbs are the most consistent form of internal linking a Magento store has: every product and subcategory page automatically and consistently links back to its parent categories and the homepage. This pattern systematically distributes link equity upward along the category hierarchy and ensures that even deeply nested product pages always receive at least one clear, thematically relevant internal link. For crawlers this creates a consistently understandable path through the site structure, which noticeably improves crawl efficiency, especially for large catalogs.
Beyond their pure linking function, breadcrumbs combined with BreadcrumbList structured data directly enhance the search result: instead of a plain URL, Google displays the category hierarchy as a clickable path in the snippet, which increases click-through rate and perceived trustworthiness. It is important that the visible breadcrumb text exactly matches the anchor text of the category names and that the order in the schema matches the actual URL structure, since Google consistently penalizes discrepancies between visible content and schema data with the loss of rich snippet eligibility.
<?php /** @var \Magento\Framework\View\Element\Template $block */ ?>
<!-- Hyva phtml: render breadcrumbs and matching BreadcrumbList schema -->
<nav aria-label="breadcrumb" class="text-sm text-gray-500 mb-4">
<ol class="flex flex-wrap items-center gap-1">
<?php foreach ($block->getCrumbs() as $index => $crumb): ?>
<li class="flex items-center gap-1">
<?php if (!empty($crumb['link'])): ?>
<a href="<?= $block->escapeUrl($crumb['link']) ?>" class="hover:underline text-blue-700">
<?= $block->escapeHtml($crumb['label']) ?>
</a>
<?php else: ?>
<span class="text-gray-700"><?= $block->escapeHtml($crumb['label']) ?></span>
<?php endif; ?>
<?php if ($index < count($block->getCrumbs()) - 1): ?>
<span aria-hidden="true">/</span>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ol>
</nav>
<!-- Emit matching BreadcrumbList structured data for rich snippets -->
<script type="application/ld+json">
<?= /* @noEscape */ $block->getBreadcrumbJsonLd() ?>
</script>
5. Related products and related content widgets as an SEO tool
Related products, cross-sell and up-sell widgets in Magento are usually seen purely as conversion tools, but they are simultaneously one of the most effective levers for internal linking, because they generate thematically relevant links automatically and across the whole product catalog. A widget that links matching hiking socks and insoles on a hiking boot product page not only boosts basket value, it also distributes PageRank deliberately within a topical cluster, strengthening the whole topic area in the search index. Related content widgets in the CMS and blog work on the same principle for editorial content.
When configuring these widgets, the rule source determines the SEO impact: manually curated links via product relations allow precise anchor text and targeted control, while automatic rules by category or attribute scale well but sometimes produce irrelevant links. Limiting the number of widgets per page also matters: more than six to eight simultaneously displayed widget links dilute the link equity per link and visually overwhelm users, instead of guiding them purposefully to the highest-revenue related products.
<!-- app/code/Vendor/Module/etc/widget.xml -->
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Widget:etc/widget.xsd">
<widget id="related_content_block" class="Vendor\Module\Block\Widget\RelatedContent"
is_email_compatible="false" placeholder_image="Magento_Widget::images/placeholder.png">
<label translate="true">Related Content Widget</label>
<description translate="true">Displays curated internal links to related category or content pages</description>
<parameters>
<parameter name="category_ids" xsi:type="text" required="true" visible="true">
<label translate="true">Related Category IDs</label>
</parameter>
<parameter name="link_limit" xsi:type="text" required="false" visible="true">
<label translate="true">Maximum Number of Links</label>
</parameter>
<parameter name="title" xsi:type="text" required="false" visible="true">
<label translate="true">Widget Title</label>
</parameter>
</parameters>
<containers>
<container name="content" />
<container name="sidebar.additional" />
</containers>
</widget>
</widgets>
6. Sensible click depth and category structure
The click depth of a page, meaning the number of clicks from the homepage to the target page along the shortest internal path, correlates strongly with crawl frequency and PageRank value. Pages that sit four or more clicks away from the homepage are noticeably crawled less often by Googlebot and structurally receive less link equity, even if their content is high quality. For Magento stores with deeply nested category trees, for example category, subcategory, sub-subcategory, product, this means: revenue-driving products should ideally be reachable within three clicks of the homepage.
A flatter category structure with broader but shallower levels systematically reduces click depth without losing content organization. Category hub pages also help by bundling several subcategories and thematically related products on one level, linked directly from the homepage or main menu. Layered navigation should be configured with rel="nofollow" or canonical control so that filter combinations do not uncontrollably create additional thin crawl paths that drain crawl budget away from the actually relevant category pages.
7. Implementing internal linking technically in Magento
Magento offers several native mechanisms for strategic internal linking: the widget system lets you embed blocks defined via widget.xml, such as "Catalog Products List" or "CMS Static Block", directly into layout XML files, category descriptions, or CMS pages without deploying code. CMS static blocks are particularly well suited for editorially curated internal links, because content editors can use them to link to strategically important category or product pages with freely chosen anchor text, without needing a developer involved.
For deeper interventions, such as automatically linking related categories at the end of every category description, a dedicated block with its own layout XML handle is the cleanest solution, ideally as a standalone module with a ViewModel rather than a preference on core blocks. In Hyva themes such a block can be styled directly in the phtml template with Tailwind classes and populated with data through the ViewModel, which keeps internal linking fully controllable through the layout system without any hardcoding in the template.
<!-- app/design/frontend/Vendor/theme/Magento_Catalog/layout/catalog_category_view.xml -->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="category.description.after">
<!-- Insert a curated internal linking block after the category description -->
<block class="Vendor\Module\Block\RelatedCategories"
name="related.categories.block"
template="Vendor_Module::widget/related-categories.phtml">
<arguments>
<argument name="current_category_id" xsi:type="helper"
helper="Vendor\Module\Helper\Data::getCurrentCategoryId"/>
<argument name="link_limit" xsi:type="number">6</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
8. Internal link audits: tools and methodology
An internal link audit starts with a full crawl of the store using tools like Screaming Frog, Sitebulb or OnCrawl, combined with a comparison against the XML sitemap and Google Search Console data. The central metrics per page are the number of incoming internal links (inlinks), the click depth from the homepage, and the distribution of anchor texts used. Pages with high revenue potential but noticeably few inlinks are the priority candidates for targeted additional linking, while pages with an excessive amount of generic anchor text like "here" indicate a lack of content differentiation.
In practice, a quarterly audit rhythm is advisable, comparing new orphan pages, changed click depths after assortment or navigation changes, and the development of top landing pages by organic traffic. A simple prioritization matrix of visibility in Search Console (impressions, clicks) versus current inlink count reliably shows where additional internal linking has the biggest effect. Automated reports, for example a weekly crawl run from the command line, make this process repeatable and CI-ready.
9. Linking strategies compared
Every area of internal linking has a typical mistake, a clear target value, and a concrete optimization lever. The following overview summarizes what matters most in practice.
| Area | Target value (good) | Typical mistake | Recommended optimization |
|---|---|---|---|
| Anchor text | Descriptive & varied | "click here" / "learn more" | Keyword-close, natural variance |
| Click depth | <= 3 clicks from homepage | 5+ clicks to target page | Flatter structure, hub pages |
| Orphan pages | 0 unlinked pages | No checks, pages become orphaned | Quarterly audit + re-linking |
| Widgets | Curated & topically relevant | Purely automatic random selection | Manual curation per product cluster |
| Breadcrumbs | BreadcrumbList schema active | No structured data | Schema + consistent anchor text |
In practice these individual levers rarely work in isolation: a flatter click depth automatically reduces the number of orphan pages, and curated widgets simultaneously deliver better anchor text than automatic rules. Anyone who systematically implements the measures from the table and monitors them through regular audits improves the store's entire link structure instead of isolated individual pages.
Mironsoft
Internal linking, link structure audits and technical SEO implementation for Magento stores
Optimize internal linking strategically?
We analyze your Magento store's internal link structure, uncover orphan pages and wasted link equity, and implement a well-thought-out linking strategy, from anchor text guidelines to the technical implementation in Hyva themes.
Internal link audit
Full crawl, orphan page detection and click depth analysis
Anchor text strategy
Guidelines and implementation for descriptive, varied anchor text
Magento implementation
Widgets, breadcrumbs and layout XML blocks integrated cleanly
10. Summary
Internal linking is the most effective SEO lever that lies entirely within your own control: without a single external backlink, a well-thought-out link structure improves rankings, crawl efficiency, and ultimately user guidance through the store. Anyone who deliberately directs PageRank to high-margin categories, formulates anchor text descriptively and with variance, consistently hunts down orphan pages, and treats breadcrumbs and related content widgets as strategic tools rather than pure navigation aids will get noticeably more visibility out of the existing site structure.
The key difference to most other SEO measures: internal linking is not a one-off project but an ongoing process that has to continue with every new product page, every category change and every new blog article. A quarterly audit rhythm with clear metrics like inlink count, click depth, and anchor text distribution ensures that the link structure keeps pace with a growing catalog, instead of accumulating uncontrolled orphan pages and diluted link equity over the years.
Internal Linking in Magento Stores, The Essentials at a Glance
Direct PageRank deliberately
Link high-margin categories and products from thematically relevant content instead of treating every page the same.
Anchor text variance
Descriptive and keyword-close instead of generic. A mix of exact match, partial variants and natural language.
Eliminate orphan pages
A quarterly comparison of crawl data and XML sitemap reliably uncovers unlinked pages.
Click depth & widgets
Maximum of three clicks for revenue-driving pages, curated related content widgets as an SEO tool.