Skip to content

Keep classroom and external provider pages out of search - #486

Merged
Charlie-Carson merged 1 commit into
mainfrom
maint-seo-2026-10-24
Oct 25, 2026
Merged

Charlie-Carson merged 1 commit into
mainfrom
maint-seo-2026-10-24

Conversation

@Charlie-Carson

Copy link
Copy Markdown
Contributor

Summary

  • Keep /classroom/:id and /external/* out of search results (noindex, follow layouts, same pattern as /embed). Both pages render only in the browser behind the generic "Lessons.church" title. They answer 200 for any id. The lessons they show already have their own indexed pages: classroom pages repeat Lessons.church lessons, and external pages show another provider's curriculum.

Evidence

  • Local build (slot 5): /classroom/nope and /external/nope/nope both returned 200 with title "Lessons.church", no description, no canonical and no robots meta. Neither is disallowed in robots.txt.

Proof

  • npx playwright test seo.spec.ts -g "classroom|external" (slot 5, temporary config without the global setup) on main: 2 failed. With the layouts, the full seo.spec.ts gives 19 passed.
  • npx tsc --noEmit clean. npx eslint on the changed files clean.

@vercel

vercel Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lessons-app Ready Ready Preview Oct 25, 2026 6:05am UTC

Request Review

@Charlie-Carson
Charlie-Carson merged commit 549d6f6 into main Oct 25, 2026
3 checks passed
@Charlie-Carson
Charlie-Carson deleted the maint-seo-2026-10-24 branch October 25, 2026 06:34

This branch was successfully deployed

1 active deployment
Preview — d44041ad Deployed Oct 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant