Skip to content

Fix anchors written as links, which produced 404s - #677

Merged
tabacitu merged 1 commit into
masterfrom
fix-empty-href-anchors
Nov 13, 2026
Merged

tabacitu merged 1 commit into
masterfrom
fix-empty-href-anchors

Conversation

@tabacitu

Copy link
Copy Markdown
Member

52 section anchors across 15 pages (3.4 to 7.x) were written as <a href="about"></a> instead of <a name="about"></a>.

Browsers and crawlers read those as relative links. So /docs/3.4/crud-operation-delete linked to /docs/3.4/about, and /docs/7.x/base-breadcrumbs linked to /docs/7.x/define-breadcrumbs-in-the-controller. All of these 404. Ahrefs Site Audit counted them as broken internal links after the website started returning real 404s for missing docs pages.

The change only swaps href= for name= on empty anchors. Nothing else changes.

🤖 Generated with Claude Code

52 section anchors were written as <a href="about"></a> instead of
<a name="about"></a>. Browsers and crawlers read them as relative links,
so /docs/3.4/crud-operation-delete linked to /docs/3.4/about, which 404s.
Ahrefs flagged these as broken internal links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tabacitu tabacitu added this to Triage Nov 13, 2026
@tabacitu
tabacitu merged commit 1086f89 into master Nov 13, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this to Done in Triage Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant