Skip to content

Bug: Non-JS social scrapers see landing-page OG/Twitter meta for every deep-linked URL #440

@bd73-com

Description

@bd73-com

Bug: Non-JS social scrapers see landing-page OG/Twitter meta for every deep-linked URL

Severity: high
Found by: Phase triage — out-of-scope finding #2
Location: client/index.html:12-22 + client/src/components/SEOHead.tsx


Resolved in PR #447 (merged 2026-04-17).

New server-side crawler-UA middleware (server/crawlerMeta.ts + shared/pageMetadata.ts) rewrites index.html <head> for known bot UAs (Facebook, X, Slack, LinkedIn, Discord, Google, Bing, etc.) with per-route title/description/canonical/og/twitter tags. Hooked into both the prod static handler and dev Vite middleware. baseUrl is pinned to getAppUrl() (no Host-header reflection) to prevent SEO poisoning. Unknown paths inject <meta name="robots" content="noindex"> to prevent soft-404 indexation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghighHigh severity

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions