squirrelscan
GitHub

Article link density: how many links an article needs

An article that cites nothing and links nowhere is a dead end. squirrel scales the minimum with the article's length.

What link density means for an article

An article carries two kinds of link. Internal links connect it to the rest of the site, which is how a reader continues and how the site says what belongs together. External links cite the sources the argument rests on.

The right number scales with length. A 500-word post that links out twice is well connected; a 3000-word guide that does the same is not. This rule sets a floor by length band rather than a target, so it only fires when an article is clearly under-linked.

What squirrel checks

The rule runs on every crawled page, and only on pages the parser classified as an article or that carry Article structured data. It picks thresholds from the word count and emits two checks:

  • article-links reports info when the page is not an article. Message: Not an article page. No further checks run.
  • internal-links warns below the minimum. Message: long article has 1 internal links (min 3), with the count and the threshold. It passes otherwise with 4 internal links.
  • external-links warns below the minimum. Message: medium article has 0 external links (min 2). It passes otherwise with 3 external links.

The bands are short below short_max_words, 800 by default; medium from there up to but not including long_min_words, 1500 by default; and long from 1500 up. The defaults are 1 internal and 1 external for short, 2 and 2 for medium, and 3 internal and 2 external for long. Severity warning, weight 4.

How to fix it

Link to the pages on your site that the article assumes or extends, from the sentences where they come up rather than from a list at the end. Cite the sources you actually used.

A reference page or a changelog that legitimately links nowhere is best excluded by disabling the rule for that section rather than by adding links to satisfy it.

Rule IDcontent/article-links
CategoryContent
ScopePer-page
Severitywarning
Weight4/10

Options

OptionTypeDefaultDescription
short_max_wordsnumber800Upper word count for the short band
long_min_wordsnumber1500Word count at which the long band starts
short_min_internalnumber1Minimum internal links for a short article
medium_min_internalnumber2Minimum internal links for a medium article
long_min_internalnumber3Minimum internal links for a long article
short_min_externalnumber1Minimum external links for a short article
medium_min_externalnumber2Minimum external links for a medium article
long_min_externalnumber2Minimum external links for a long article

Configuration example

[rule_options."content/article-links"]
long_min_internal = 5
long_min_external = 3

Enable / disable

Disable this rule

[rules]
disable = ["content/article-links"]

Disable all Content rules

[rules]
disable = ["content/*"]

Enable only this rule

[rules]
enable = ["content/article-links"]

enable replaces the default ["*"], so this is the only rule selected. Leave disable out: a rule that matches any disable pattern is skipped even when enable names it. Only an enabled setting under a rule’s own [rule_options] table overrides both lists.

Content findings ship in every audit next to the SEO, performance and agent experience rules. See Fix SEO issues with AI for how an agent works through a report.

References

Check your site

Run squirrel audit https://example.com and open the Content section of the report. Each article is reported with its internal and external link counts. Signed-out local audits need no account and cost nothing. Signed-in audits spend credits.

Type to search…

↑↓ navigate↵ openesc close