Skip to content

robots.txt blocking all crawlers

Disallow: / under User-agent: * tells every crawler to avoid every path on your site. No pages will be indexed. If this is your production domain, your site is invisible to search engines.

This configuration is standard on staging environments and is the most common way it ends up on production: a staging robots.txt gets deployed without being changed.

Open your robots.txt and remove or replace the blocking rule.

A minimal robots.txt that permits all crawlers:

User-agent: *
Allow: /
Sitemap: https://yourdomain.com/sitemap.xml

If you want to block specific paths only (admin panels, API routes), disallow those explicitly:

User-agent: *
Disallow: /admin/
Disallow: /api/
Sitemap: https://yourdomain.com/sitemap.xml
Framework robots.txt location
Next.js App Router app/robots.ts (compiled) or public/robots.txt
Next.js Pages Router public/robots.txt
SvelteKit static/robots.txt
Nuxt public/robots.txt
Astro public/robots.txt
Plain HTML robots.txt at project root

Check the live robots.txt content:

Terminal window
curl https://yourdomain.com/robots.txt

Confirm there is no Disallow: / under User-agent: *. Re-run orino audit to confirm the check passes.