Internal vs. External Links: How Google Weighs Link Equity
AI generated
SERP
<meta>
SEO · Link Architecture · PageRank · Magento 2
Internal vs. External Links: How Google Weighs Link Equity
Mastering PageRank flow, link architecture, and rel attributes

Every link on a website is a vote Google uses to judge authority and relevance. This article explains how PageRank and link equity flow through internal linking structures, how anchor text and click depth concentrate or dilute authority, and how outbound links to trustworthy sources plus correctly applied nofollow, sponsored, and ugc attributes strengthen rankings for Magento and Hyva stores.

13 min. read PageRank · Anchor Text · Link Architecture Magento 2.4.8 · Hyva Theme · Search Console

1. The PageRank concept: how link equity flows through a website

Google's original PageRank concept describes links as votes of confidence between pages. Every page distributes part of its own authority through outbound links to the target pages, modulated by a damping factor that weakens the transferred link equity with each additional click. Google today runs far more complex ranking systems than the classic 1998 PageRank paper, but the underlying principle still holds: pages with many inbound links from relevant, trustworthy sources are considered more authoritative than isolated pages with no linking at all.

For Magento stores, the crucial point is that this link equity does not only come from external backlinks, it also comes substantially from a site's own internal linking. A category page with many internal links from product pages, blog articles, and the main navigation structurally accumulates more link equity than a subpage reachable only through a single footer link. Actively steering this internal distribution lets you direct link equity toward revenue-driving category and product pages instead of letting it scatter randomly across the site structure.

It is also important that every page splits its link equity across all of its outbound links: a page with 200 outbound links passes on noticeably less equity per link than a page with 20 carefully curated links. For Magento stores with automatically generated filter links, sort options, and pagination, that means every additional low-value link dilutes the equity left over for the category and product links that actually matter.

2. Internal linking architecture: concentrating authority instead of diluting it

A silo structure groups thematically related pages and links them densely to each other, for example a category, its subcategories, and the associated product pages. Cross-links within the same topic cluster pass on more topically relevant link equity than arbitrary cross-references between unrelated areas, because Google also derives relevance signals from the linking context. Consistent silo logic ensures that the most important categories are supported not only from the homepage, but also from related blog articles, FAQ pages, and product descriptions.

When choosing between flat and deep architecture, the rule is: the fewer clicks a page is from the homepage, the more link equity it accumulates and the more often it gets crawled. A flat structure with a maximum of three to four clicks down to the deepest product page distributes authority more efficiently than a deeply nested category tree menu with six or more levels. Particularly critical are orphan pages, pages with no internal inbound links at all, such as old campaign landing pages or CMS pages left out of the navigation. They effectively receive no internal link equity and get crawled less often by Google, even if they contain high-quality content.

3. Click depth and crawl budget: why distance from the homepage matters

Click depth describes how many clicks from the homepage are needed to reach a given page. Google treats click depth as an indirect priority signal: pages positioned closer to the front of the internal link structure tend to be considered more important and get crawled more frequently and thoroughly than deeply nested pages. For Magento stores with several thousand products, this has direct consequences for crawl budget: Googlebot spends only a limited amount of time per domain, and pages beyond five or six clicks are often crawled less regularly, or not at all.

In practice, click depth can be shortened through additional internal references without changing the navigation structure itself: related-product widgets, thematic blog linking, and well-maintained breadcrumbs create additional, shorter paths to deeply nested product pages. The goal should be keeping every revenue-relevant page reachable within a maximum of three to four clicks from the homepage, even if the category tree itself is structured more deeply.


<?php
declare(strict_types=1);

namespace Mironsoft\SeoSuite\ViewModel;

use Magento\Catalog\Api\CategoryRepositoryInterface;
use Magento\Framework\View\Element\Block\ArgumentInterface;

/**
 * ViewModel to compute the click depth of a category from the store root.
 */
class LinkDepthViewModel implements ArgumentInterface
{
    /**
     * @param CategoryRepositoryInterface $categoryRepository Category repository used to resolve the path
     */
    public function __construct(
        private readonly CategoryRepositoryInterface $categoryRepository
    ) {
    }

    /**
     * Calculate the number of clicks from the store root category to the given category.
     *
     * @param int $categoryId Target category entity id
     * @return int Click depth, 0 for the root category itself
     */
    public function getClickDepth(int $categoryId): int
    {
        $category = $this->categoryRepository->get($categoryId);
        // path_ids includes the root and anchor categories, subtract both
        $pathIds = explode('/', (string) $category->getPath());

        return max(0, count($pathIds) - 2);
    }
}

4. Anchor text strategy for internal links

The anchor text of an internal link gives Google extra context about what the target page is about, independent of the target page's own content. Generic anchor text like "click here" or "learn more" still transfers link equity, but carries no topical signal whatsoever. Descriptive anchor text like "waterproof winter jackets for women", on the other hand, reinforces the target page's relevance for exactly that search query and helps Google classify the linked page's topic more precisely.

What matters here is variation, not repetition: if every internal link pointing to a category page uses exactly the same anchor text, it looks unnatural and can be read as over-optimization. Synonyms, long-tail variants, and contextual phrasing that fits organically into the surrounding body copy work better. Links placed in editorial content, such as blog articles or product descriptions, are generally weighted more heavily by Google than pure navigation or footer links, because the surrounding text supplies additional topical signals.


<!-- Weak: generic, non-descriptive anchor text -->
<a href="/women/winter-jackets.html">click here</a>

<!-- Strong: descriptive, contextual anchor text with topical variation -->
<p>
  Our <a href="/women/winter-jackets.html">waterproof winter jackets for women</a>
  also work well for alpine touring, see also our comparison of
  <a href="/blog/winter-jacket-buying-guide">waterproof jackets tested</a>.
</p>

Outbound links are frequently underestimated, even though they represent a measurable trust signal. When a page links to authoritative, topically relevant sources such as trade publications, official documentation, or recognized statistics portals, it signals to Google that the page is carefully researched and operates within a trustworthy topical environment. Google's Quality Rater Guidelines explicitly consider such citations as part of assessing expertise, experience, authoritativeness, and trustworthiness (E-E-A-T).

Quality matters more than quantity here: a few carefully chosen external links to genuinely relevant, high-quality domains build more trust than a large number of arbitrary references. Conversely, linking to spam domains, topically irrelevant sites, or link farms can dilute a page's perceived trust, even though a single poor outbound link rarely penalizes an entire domain by itself. For Magento blog articles, this means: when citing studies, manufacturer data, or official standards, link consistently to the original source rather than to secondary reproductions.

6. nofollow, sponsored, ugc: using rel attributes correctly

The rel="nofollow" attribute was originally introduced in 2005 to curb comment spam. Since the 2019 update, Google no longer treats nofollow as a strict directive but as a hint: Google can still crawl nofollow links and factor them into ranking signals in aggregate, meaning it no longer necessarily follows the original directive. This doesn't change the recommendation to keep using nofollow on uncertain or non-editorially-vetted external links, but it makes the decision less binary than it used to be.

Since the same update, two more specific attributes complement classic nofollow: rel="sponsored" marks paid links, affiliate references, and other forms of commercial compensation, which can also be legally relevant as a disclosure requirement. rel="ugc" (user generated content) marks links coming from user contributions such as forum posts, comments, or product reviews, where the page itself has no editorial control over the linked content. All three attributes can be combined, for example rel="ugc nofollow" for a user comment with a questionable link.


<!-- Affiliate link: monetary compensation requires rel="sponsored" -->
<a href="https://partner-shop.example/product" rel="sponsored noopener" target="_blank">
  Accessories at our partner shop
</a>

<!-- User submitted forum or review link: rel="ugc" -->
<a href="https://sample-user-blog.example" rel="ugc nofollow noopener" target="_blank">
  Read the user review
</a>

<!-- Untrusted external link without editorial control -->
<a href="https://unknown-source.example" rel="nofollow noopener" target="_blank">
  External source
</a>

<!-- Trusted, editorially placed authority link: no rel attribute needed -->
<a href="https://developer.mozilla.org/docs/Web/API" target="_blank">
  MDN Web API documentation
</a>

7. Magento- and Hyva-specific linking patterns

The category tree is the structural backbone of internal linking in Magento. A logically built navigation, where main categories are directly reachable from the homepage and subcategories nest sensibly beneath them, ensures that link equity flows along the category hierarchy instead of getting lost in deeply nested menus. In addition, breadcrumbs consistently carry link equity back toward the homepage and create extra internal links on every category and product level, rendered directly in the HTML on Hyva themes without any extra JavaScript.

Related, upsell, and cross-sell blocks create valuable contextual cross-linking between product pages within the same or a related segment. The position of these blocks within the DOM matters: links placed higher up in the HTML tend to be weighted more heavily by Google than links near the bottom of the page. Footer links should stay deliberately curated, limited to the most important categories and service pages, rather than automatically listing every category and filter combination, which scatters link equity across hundreds of unnecessary targets.


<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <!-- Breadcrumbs high in the DOM strengthen upward internal linking -->
        <referenceContainer name="page.top">
            <block class="Magento\Theme\Block\Html\Breadcrumbs" name="breadcrumbs" before="-"/>
        </referenceContainer>

        <!-- Related products block: contextual cross-links within the same category -->
        <referenceBlock name="catalog.product.related">
            <arguments>
                <argument name="position_limit" xsi:type="number">6</argument>
            </arguments>
        </referenceBlock>

        <!-- Keep footer link list curated instead of listing all categories -->
        <referenceBlock name="footer-links" remove="true"/>
    </body>
</page>

8. Common mistakes in internal and external linking

The most common mistake is over-optimized anchor text: when hundreds of internal links to a category page all use the exact same exact-match anchor text, it looks unnatural to Google and can negatively affect the perceived quality of the entire linking structure. Natural websites use variation, not mechanical repetition.

A second widespread mistake is excessive internal nofollow: some stores apply nofollow to internal filter, sort, or pagination links, assuming this "saves" link equity. Since nofollow has only been a hint since 2019, and PageRank within your own domain is not preserved by nofollow anyway, this is usually pointless and unnecessarily hampers crawling at the same time. noindex or canonical URLs are the better fix for duplicate-content variants.

The third mistake is overly rigid link silos: when thematically related areas, such as the blog and product categories, deliberately never link to each other in order to keep the silo structure "clean", it traps authority inside isolated clusters instead of letting it circulate sensibly between related topics. Silo structure should mean topical grouping, not complete isolation.

9. Measuring and auditing internal link equity

Crawlers like Screaming Frog or Sitebulb capture the number of inbound internal links and the click depth for every URL, and identify orphan pages that no internal link points to. These reports form the basis for a systematic audit: which important category or product pages have too few internal links, and which unimportant pages, such as login or cart URLs, receive unnecessarily large amounts of link equity because they're linked from every page's footer?

Google Search Console's "Links" section shows the most frequently internally linked pages, though without a granular click-depth analysis. For Magento stores, it's worth building dedicated audit tooling that reads the category tree directly from the database and computes click depth per category, to identify gaps in the internal architecture before they show up as weaker rankings.


<?php
declare(strict_types=1);

namespace Mironsoft\SeoSuite\Console\Command;

use Magento\Catalog\Api\CategoryListInterface;
use Magento\Framework\Api\SearchCriteriaBuilder;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * CLI command that reports the internal link depth distribution across categories.
 */
class LinkDepthAuditCommand extends Command
{
    /**
     * @param CategoryListInterface $categoryList Category list service used to load all categories
     * @param SearchCriteriaBuilder $searchCriteriaBuilder Builder for the category search criteria
     */
    public function __construct(
        private readonly CategoryListInterface $categoryList,
        private readonly SearchCriteriaBuilder $searchCriteriaBuilder
    ) {
        parent::__construct('mironsoft:seo:link-depth-audit');
    }

    /**
     * Execute the audit and print a depth histogram to the console.
     *
     * @param InputInterface $input Console input
     * @param OutputInterface $output Console output
     * @return int Command exit code
     */
    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        $criteria = $this->searchCriteriaBuilder->create();
        $categories = $this->categoryList->getList($criteria)->getItems();
        $histogram = [];

        foreach ($categories as $category) {
            $depth = max(0, count(explode('/', (string) $category->getPath())) - 2);
            $histogram[$depth] = ($histogram[$depth] ?? 0) + 1;
        }

        ksort($histogram);
        foreach ($histogram as $depth => $count) {
            $output->writeln(sprintf('Depth %d: %d categories', $depth, $count));
        }

        return Command::SUCCESS;
    }
}

The table below summarizes how different link types are typically used and how that affects SEO.

Link type Typical use SEO effect Recommendation
Internal contextual link Link in body copy, e.g. a blog article Concentrates link equity and relevance Use it, vary the anchor text
Internal navigation link Main menu, category tree Reduces click depth site-wide Keep the structure flat
External authority link Trade publication, official source Strengthens trust and E-E-A-T Use deliberately, no nofollow
External low-quality link Irrelevant or spam domain Can dilute trust Avoid, or set nofollow
Paid/sponsored link Affiliate, advertising partnership No link equity transfer with the correct tag Always set rel="sponsored"

Mironsoft

Link architecture, PageRank optimization, and backlink quality for Magento stores

Ready to steer your link equity instead of scattering it?

We analyze your Magento store's internal linking, anchor text distribution, and backlink quality, and implement targeted optimizations, from category tree architecture to rel attribute strategy.

Internal linking audit

Analyze click depth, orphan pages, and anchor text distribution

Link architecture optimization

Realign the category tree, breadcrumbs, and related-product blocks

Backlink quality review

Review external link profiles and set rel attributes correctly

10. Summary

Internal vs. external links address the same core problem from two directions: how efficiently authority flows through a website, and how much trust a page brings in from outside. Internal link building works through a flat, silo-based architecture, short click depths to revenue-relevant pages, and varied, descriptive anchor text instead of mechanical repetition. Orphan pages with no internal links stay effectively invisible to Google, regardless of how good their content is.

External linking works in two directions: outbound links to authoritative sources strengthen trust in your own page, while inbound backlinks remain the most important source of external authority. The rel attributes nofollow, sponsored, and ugc are no longer pure ranking levers either, since 2019 they are hints that give Google additional classification signals, and for paid or user-generated links they can also carry legal relevance. Maintaining both sides of the link equation, internal and external, consistently builds a link architecture that concentrates authority instead of wasting it.

Internal vs. External Links, The Essentials at a Glance

Understand PageRank flow

Link equity is split across all outbound links on a page. Fewer, more deliberate links carry more equity per target.

Architecture without silos

Flat structure with a maximum of three to four clicks, no orphan pages, topical clusters instead of rigid isolation.

Vary anchor text

Descriptive, contextual anchor text instead of exact-match repetition. Links in body copy carry more weight than navigation links.

Set rel attributes correctly

nofollow for uncertain links, sponsored for paid links, ugc for user-generated content.

11. FAQ: Internal vs. External Links

1What is PageRank and how does link equity flow through a website?
Links are votes of confidence between pages. Every page distributes its authority through outbound links, modulated by a damping factor. Internal linking controls the distribution within a website.
2How do internal and external links differ in their SEO effect?
Internal links control the distribution of link equity in your own store. External inbound links bring authority from outside, external outbound links to good sources strengthen your own trust.
3What is click depth and why does it affect crawling?
The number of clicks from the homepage to a page. Low click depth counts as a priority signal. Important pages should be reachable within a maximum of three to four clicks.
4How should I choose anchor text for internal links?
Descriptive and varied rather than exactly repeated. Links in editorial body copy carry more weight than pure navigation links.
5Why should I link out to authoritative external sources?
Strengthens the perceived trust (E-E-A-T) of your own page per Google's Quality Rater Guidelines, provided sources are topically relevant and carefully chosen.
6What does rel="nofollow" actually mean today?
A hint rather than a strict directive since 2019. Google can still crawl nofollow links and consider them in aggregate, still recommended for uncertain links.
7When should I use rel="sponsored" instead of nofollow?
For links with commercial compensation, such as affiliate links. More specific than generic nofollow and sometimes legally relevant.
8When is rel="ugc" the right choice?
For links from user-generated content like forum posts or reviews without editorial control. Combinable with nofollow.
9How do I avoid link silos that trap authority?
Silo structure means topical grouping, not complete isolation. Related areas should deliberately link to each other.
10Which tools can I use to measure and audit internal link equity?
Screaming Frog, Sitebulb, Search Console's Links section, and dedicated audit tooling built on the Magento category tree.