Skip to content

fix(web): let crawlers in so search engines read the app's noindex - #1057

Merged
NiKrause merged 1 commit into
mainfrom
fix/robots-let-crawlers-see-noindex
Nov 28, 2026
Merged

NiKrause merged 1 commit into
mainfrom
fix/robots-let-crawlers-see-noindex

Conversation

@NiKrause

Copy link
Copy Markdown
Contributor

Google Search Console reports belege.le-space.de as "Indexed, though blocked by robots.txt".

robots.txt shut every crawler but the link-preview bots out (#343). Every page already carries <meta name="robots" content="noindex, nofollow"> (app.html, static/en/index.html), but a crawler has to fetch a page to read that. Blocked, Google never saw the noindex and listed the start page from links alone, without a snippet.

  • app/static/robots.txt: User-agent: * / Allow: /, nothing disallowed; comment says why.
  • app/src/lib/social.spec.js: the robots test now checks that nothing is disallowed. The noindex checks on both entry pages are unchanged.

Link previews keep working: the preview bots were allowed before and still are.

Checked: vitest run src/lib/social.spec.js src/lib/pwa/cache-rules.spec.js, 8 of 8 passed.

After the deploy, Search Console → the URL → "Validate fix" speeds up the removal.

🤖 Generated with Claude Code

robots.txt shut every crawler but the link previews out. Google never
fetched a page, never read its `noindex`, and listed belege.le-space.de
anyway: Search Console reports "Indexed, though blocked by robots.txt".
Every page already says `noindex` (app.html, static/en/index.html), so
robots.txt now disallows nothing. Link previews (#343) are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NiKrause
NiKrause merged commit cdc55aa into main Nov 28, 2026
16 checks passed
@NiKrause
NiKrause deleted the fix/robots-let-crawlers-see-noindex branch November 28, 2026 06:08
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