wrong link form

warning wrong-link-form Indexing and reachability

A link that reaches a page of the build only because the checks forgive the difference: `/Blog/Tag/` for `blog/tag/`, `/about.html` for `about/index.html`, `/faq/` for `faq.html`. GitHub Pages, S3 and nginx on Linux are case-sensitive and map URL forms by fixed rules: a folder page is served at `/about/` and `/about`, a flat file at `/faq.html` (and at `/faq` on GitHub Pages, Netlify and Cloudflare), and every other form is a 404. A rule in `_redirects`, `netlify.toml` or `vercel.json` that catches the link, or `cleanUrls` / `trailingSlash` in vercel.json, silences it.

What indexgap reports

The finding reads:

warning  wrong-link-form  links differ from the page in letter case: ……. GitHub Pages, S3 and nginx on Linux are case-sensitive and answer them with a 404

How to fix it

Write the link in the form the page has in the build: the same letter case, /about/ for about/index.html, /faq.html or /faq for faq.html. If the host redirects that form itself, add the rule to _redirects, netlify.toml or vercel.json and the finding goes away.

How it behaves at scale

Collapsed when it fires template-wide. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.

Suppressed on JavaScript shells. A page with no text in its source HTML would trip this check for a reason that is already reported as js-shell, and repeating it four times is not four times as informative.

Finding it

pipx install indexgap
cd your-project
indexgap init
indexgap check

Then indexgap brief turns every finding on this page into a work order in indexgap-briefs/, with the thresholds the result has to satisfy and the command to check it.

Related checks in indexing and reachability

All checks · Indexing and reachability