Free auditStart free
GuideSEO issue · Crawlability

robots.txt not found

Verify the robots.txt response on the correct host, understand how Google treats a 4xx response, and add crawl rules only when you need them.

4 min
read
4
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

A missing robots.txt file is not automatically a Google indexing error. Google treats robots.txt 4xx responses other than 429 as if no valid file exists, so it assumes there are no crawl restrictions. Confirm the file is intentionally absent and that no host or deployment issue is hiding rules you rely on.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01How it works

Check the exact host and response

A crawler warning can be correct for one host and irrelevant to another. Robots rules apply to a protocol, hostname, and port combination, so inspect https://example.com/robots.txt and https://www.example.com/robots.txt separately if both hosts serve pages. A redirect, CDN rule, login screen, or deployment path can make the file appear missing to crawlers.
  1. 1

    Request the root path directly

    Open /robots.txt on each public host and record the final status, redirect, content type, and body. The file belongs at the root of the applicable host.

  2. 2

    Compare the response to your intent

    If no crawl restrictions are needed, absence may be fine. If you depend on disallow rules, sitemap declarations, or other directives, a 404 means crawlers cannot read those rules.

  3. 3

    Check production infrastructure

    Review routing, static asset publication, CDN cache, origin configuration, and deployment artifacts. Make sure the request does not return the site’s HTML shell with a 200 status.

  4. 4

    Inspect crawl access separately

    Test important pages in Search Console URL Inspection. A robots.txt file controls crawling; it is not the same as a noindex instruction and does not guarantee deindexing.

Google's robots.txt specification says its crawlers treat 4xx errors other than 429 as if a valid robots.txt file didn't exist, which means Google assumes there are no crawl restrictions. Search Console's robots.txt report says the same in its own words: not having a robots.txt file is fine, and Google can crawl all URLs on your site. Other crawlers may implement the protocol differently. A missing file is therefore a risk only when your intended rules are absent or the wrong host is being checked.

03How it works

Verify without blocking useful pages

For international and multi-host sites, do not assume one robots file covers every domain. For ecommerce, be careful when excluding filter URLs: blocking crawl can also prevent Google from seeing a canonical or noindex rule on those pages. Related: blocked by robots.txt and XML sitemap.

  1. 01

    Check the robots.txt report

    In Search Console, the robots.txt report lists the robots.txt files Google found for the top 20 hosts of a Domain property, with the last crawl and any warnings or errors. It marks a 404 as Not Fetched - Not found (404), and a file that stays 404 for 30 days drops off the list. Then check representative important URLs with URL Inspection.

  2. 02

    Check all production variants

    Test HTTP and HTTPS plus www and non-www hosts. Redirect variants should lead to the intended canonical host, and that host should serve its own rules. Google follows at least five redirect hops for robots.txt, then treats the file as a 404.

  3. 03

    Inspect rendered pages

    For pages meant to rank, make sure Google can crawl the HTML and required assets. Use URL Inspection to check current access and rendered output.

  4. 04

    Watch server logs

    After a change, look for requests to /robots.txt, status codes, and unexpected crawl behavior. Separate a 404 file from general server errors and 429 throttling.

  5. 05

    Document ownership

    Record who controls the rules and where the deployed file lives. This prevents a framework or CDN update from silently removing it.

Sources · 4

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01How Google interprets the robots.txt specificationdevelopers.google.com · checked 2026-10-24
  2. 02Introduction to robots.txtdevelopers.google.com · checked 2026-10-24
  3. 03Control the content you share on Searchdevelopers.google.com · checked 2026-10-24
  4. 04robots.txt reportsupport.google.com · checked 2026-10-24
Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

01Does every website need robots.txt?

No. Google can crawl a site without a robots.txt file. You need a file when you have crawler rules or want to publish directives such as a sitemap location.

02What does Google do when robots.txt returns 404?

Google treats 4xx errors other than 429 as if no valid robots.txt exists, so it assumes there are no crawl restrictions. Search Console's robots.txt report lists such a file as Not Fetched - Not found (404).

03Can robots.txt keep a URL out of Google?

Not reliably. It blocks crawling, and Google may still know or show the URL. Use noindex while allowing crawling or protect private content with authentication.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane