Skip to content

Commit 1c1772e

Browse files
committed
fix(scripts): never flag bare-domain root canonicals
1 parent 3cd83c9 commit 1c1772e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/scripts/src/seo-audit-report.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ Evidence provenance: all page evidence was extracted from raw server-rendered HT
555555
556556
HARD RULES:
557557
- NEVER report findings about Next.js route segment config such as \`export const dynamic\`, force-dynamic vs force-static, SSR vs SSG rendering strategy, or recommend converting dynamic pages to static. Dynamic rendering is an intentional internal requirement. Skip this dimension entirely.
558+
- A canonical of \`https://host\` for the root page \`https://host/\` is the SAME URL by spec — never report bare-domain root canonicals as a trailing-slash mismatch.
558559
- Only report findings supported by the provided evidence. No speculation about pages not audited.
559560
- Findings must be ordered by impact (most severe first), max 8 findings, each detail under 240 characters, concrete and actionable, citing the affected URL path(s).
560561
- quick_wins: max 5 short one-line items that are easy and immediately beneficial.

0 commit comments

Comments
 (0)