You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A URL that redirects is audited as its own page, with the destination's content reported against it #1762
On the public demo site nutshop.squirrelscan.com (repo squirrelscan/nut-shop), /_fault/r1 answers 301 and, three hops later, lands on /categories/gift-boxes. It has no content of its own.
A cloud audit that knew this URL counted it as one of the audited pages (73, where the site has 72 pages that return content) and ran the page rules over it. In the published report /_fault/r1 appears in the page list of about 85 page-level checks, including:
content/keyword-stuffing warn: "2 word(s) may be overused", with /_fault/r1 as the source page for "nuts" (4.5%).
content/word-count warn: "Thin content: 210 words (min 300)".
core/robots-meta, legal/cookie-consent, perf/critical-request-chains, url/hyphens: all listing /_fault/r1.
Earlier, when every page was missing its lang attribute, a11y/html-lang-valid listed /_fault/r1, and that row stayed open after the template was fixed.
All of that describes /categories/gift-boxes, which is audited as itself too. So the destination is counted twice, page counts are one too high, and findings are listed against a URL the owner cannot fix them on. The redirect itself is reported correctly by crawl/canonical-chain and links/redirect-chains.
Expected: a redirecting URL is recorded as a redirect. Page rules run once, on the final URL.
Acceptance Criteria
A URL that redirects to another URL on the same site is not counted as an audited page and does not appear in the page list of any content, metadata, accessibility, performance or legal page rule.
The destination's findings are reported once, against the final URL.
Redirect rules (crawl/canonical-chain, crawl/redirect-chain, links/redirect-chains) still report the redirecting URL and its hops.
This holds whether the redirecting URL was found through a link, listed in the sitemap, or supplied as a known URL to re-check.
A redirect to a destination that is not otherwise crawled still gets that destination audited once, under the destination's URL.
The page totals in the report (pages audited, "+N more pages" counts) no longer include redirecting URLs.
Tests cover: a single redirect, a three-hop chain, a redirect to an uncrawled destination, and a redirect to an external host (not audited).
Activity
fix(crawler): record a redirecting URL as a redirect, not a page #1762
fix(crawler): one redirect predicate, redirect marker row, totals and…
fix(rules): no-contextual-inbound reads redirect rows, so a redirecti…
fix(cli): the report builder skips redirect rows too, so totals and p…
feat(cli): --include-pages lists redirecting URLs under redirects, no…
fix(crawler,engine): one redirect rule (#1762) and the review follow-…
test(engine): hreflang-targets e2e follows #1762 (redirect destinatio…
test(crawler): seed-base-collapse www fixture serves the redirect des…
fix(crawler,engine): a redirect kept as a page stays a page; page cou…
test(crawler): the cached-redirect fixture records the landing hop, a…
fix(cli,crawler): a legacy 2xx redirect row is read by its content ha…
nc9 commentedon Nov 12, 2026
Shipped in v0.0.179: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.179
Acceptance criteria checked against the tag; the change is fa599f4.
nik
test(crawler): the cached-redirect fixture records the landing hop, a…
fix(cli,crawler): a legacy 2xx redirect row is read by its content ha…
test(crawler): the cached-redirect fixture records the landing hop, a…
fix(cli,crawler): a legacy 2xx redirect row is read by its content ha…