Lesson 31 · Appendices Updated Sep 2, 2026
Appendix B · The Troubleshooting Tree
Six frequent symptoms with answers: not indexed, 404, red build, blank ad slots, no analytics, flat rankings — one path each, pointing at the lesson and command.
How to use
Match the symptom, do the steps in order — move to the next only when the previous didn’t fix it. Each row points back to its lesson.
Not indexed (or very slow)
- Confirm in GSC: sitemap submitted, key pages had “Request indexing” clicked → Lesson 19
pnpm check-sitemap— every address in the built sitemap returns 200- Fewer than 10 pages? Fill the first release before expecting speed — empty sites index slowly
- Is SITE_URL the real domain? A wrong domain means you submitted a site that doesn’t exist (Lesson 18)
Page 404
- Does the address end with
/? The whole site enforces trailing slashes (missing = 404) - Do the category folder, navigation.ts, and the locale JSON agree?
pnpm check-config - Is the page
draft: true? Drafts render only in local dev - Did you build after touching route files? Route errors only surface at build (Lesson 16)
Red build
- Read the last line of the error — 90% of the answer lives there
- Error names frontmatter → card format issue; fix the named field
- Error mentions categories →
pnpm check-config - Incomprehensible? Paste the whole thing to AI: “how do I fix this error” (Lesson 16)
Blank ad slots
- Are all four variable names spelled exactly right (case-sensitive)? → Lesson 22
- Did you redeploy after filling them?
- New site, new slots: filling takes hours to days — wait first
- Still blank after approval: check the site status in the AdSense dashboard reads ready
No analytics data
- GA4: did the visitor — including you — click the consent banner? No click, no load. By design (Lesson 24)
- Redeployed after filling the token/ID? → Lesson 20
- GA4 standard reports lag 24-48 hours — the realtime report is the instant channel
- Clarity stuck pending: script pasted exactly once, just before
</head>(Lesson 20)
Rankings flat
- Competition check first: pro sites or forum threads on page one? Pro sites → retreat to long-tail (Lesson 28)
- Has the one-page checklist run? title / direct-answer summary / tables / cover (Lesson 28)
- Content stale?
pnpm refresh-audit, zero the P0s (Lesson 25) - 4-12 weeks of movement is normal — read only the long trend (Lesson 29)
Next
- Appendix C · Glossary & Command Cheat Sheet
- Still stuck? Feed AI the symptom, a screenshot, and what you already tried.