Why does Astro NoCrawl exist?
To prevent accidental indexing of staging, preview, and internal sites, which can cause long-term SEO damage.
Astro & SEO Safety
Clear answers explaining how Astro NoCrawl safely prevents accidental indexing.
To prevent accidental indexing of staging, preview, and internal sites, which can cause long-term SEO damage.
A simple rule that blocks all crawlers: User-agent: * followed by Disallow: /
Only exact hostnames listed in the allow option are permitted to be crawled.
No. Subdomains must be explicitly listed to be allowed.
No. It never runs at runtime and introduces zero overhead.
Yes. The robots.txt file is static and can be cached indefinitely.
A warning is logged, the build continues, and the site is not broken.
Yes. Astro NoCrawl is released under the MIT license.
Want to try it yourself? Astro NoCrawl plugin or Astro NoIndex plugin or Astro Canonical plugin
Want to prevent accidental indexing of staging sites?