Vercel
Security & compliance
Code quality
No robots noindex for preview environments
Part of the Preview deploy safety check · fix arrives as a guide
What it is
Preview deployments serve no noindex directive, so search engines may index them.
Why it matters
Preview URLs then appear in search results, which is both an information leak and a duplicate-content problem competing with your real pages. Removal from an index takes considerably longer than the deploy that caused it.
How to fix it
Emit X-Robots-Tag: noindex on non-production deployments, keyed off VERCEL_ENV. Deployment protection also solves this, since crawlers cannot reach a protected preview at all.
Run them all on your app
Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.