Indexability and crawling

Do you need a robots.txt file?

There is no robots.txt on your site. Nothing breaks without one, but it is where you point crawlers at your sitemap and keep them out of admin and internal-search pages.

What it is, and what it costs

robots.txt is a small file at your domain root that guides crawlers. Missing it is not an error, but you lose an easy place to declare your sitemap and to steer crawlers away from low-value URLs that would otherwise eat crawl budget.

How to fix it

Add a robots.txt at the root that allows crawling and points at your sitemap: User-agent: * Allow: / Sitemap: https://yoursite.com/sitemap.xml

  • WordPress: Yoast or Rank Math can create and edit it for you.
  • Shopify: a robots.txt is generated automatically; you rarely need to add one.

How to check your site

Visit yoursite.com/robots.txt. A 404 means there is none.

Questions people ask

Is a missing robots.txt urgent?
No. It is a small improvement, not an emergency; add one when convenient.

Does your site have this?

Check your site to see whether a robots.txt is in place.

See also

All SEO checks →