# 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.

Canonical: https://scaplet.com/seo-issues/robots-txt-not-found

Guide SEO issue · Crawlability

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Frobots-txt-not-found%20(%22robots.txt%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Frobots-txt-not-found%20(%22robots.txt%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Frobots-txt-not-found%20(%22robots.txt%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Frobots-txt-not-found%20(%22robots.txt%20not%20found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 3 parts, 4 minutes.

1. [Check the exact host and response 01](#check-the-exact-host-and-response)
2. [Decide whether to publish or restore it 02](#decide-whether-to-publish-or-restore-it)
3. [Verify without blocking useful pages 03](#verify-without-blocking-useful-pages)

_01_How 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](/glossary/google-search-console) [URL Inspection](/glossary/url-inspection-tool). A [robots.txt](/glossary/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](/seo-issues/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.

_02_What to do, by goal

## Decide whether to publish or restore it

Goal

### You need no crawl rules

Action

You may leave the file absent, or publish a minimal file if your operational process expects one

Important detail

Do not add blanket disallows without a specific reason

Goal

### You use crawl restrictions or list a sitemap

Action

Restore a valid root-level robots.txt on each relevant host

Important detail

Check that the deployed file contains the intended rules

Goal

### Pages should not appear in Search

Action

Use `noindex` while allowing crawling, or require authentication for private content

Important detail

Robots.txt blocks crawling and can prevent Google from seeing [noindex](/glossary/noindex)

Goal

### You want to prevent server load from crawlable parameter spaces

Action

Use carefully scoped robots rules or control URL generation

Important detail

Do not block pages whose canonical or noindex signals Google needs to read

Goal

### The file intermittently returns 5xx or times out

Action

Investigate server availability and CDN behavior urgently

Important detail

Google stops crawling the site for the first 12 hours while it retries. After that it uses the last good version for up to 30 days; with no cached version it assumes no crawl restrictions

Use robots.txt to manage crawler access, not to secure confidential files or remove a URL from Search. A blocked URL can still appear in [search results](/glossary/serp) if Google learns about it from links. If you must keep content private, use authentication. If a public page should not be indexed, let Google crawl it and read a `noindex` directive.

When publishing a file, keep it plain text and validate the exact production response. Use the correct user-agent groups and rule syntax. Avoid broad `Disallow: /` rules on production unless the entire site is intentionally closed to crawling; staging protections should not accidentally ship with the release.

_03_How 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](/seo-issues/blocked-by-robots-txt) and [XML sitemap](/glossary/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](/glossary/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. 01 [How Google interprets the robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec) developers.google.com · checked 2026-10-24
2. 02 [Introduction to robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro) developers.google.com · checked 2026-10-24
3. 03 [Control the content you share on Search](https://developers.google.com/search/docs/crawling-indexing/control-what-you-share) developers.google.com · checked 2026-10-24
4. 04 [robots.txt report](https://support.google.com/webmasters/answer/6062598) support.google.com · checked 2026-10-24

Questions

## Asked a lot.

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

_01_ Does 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.

_02_ What 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).

_03_ Can 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.

## Keep learning

[All seo issues](/seo-issues)

[Learn Page blocked by robots.txt Crawlability](/seo-issues/blocked-by-robots-txt) [Related robots.txt Crawling](/glossary/robots-txt) [Read next Infinite URL parameters Crawlability](/seo-issues/infinite-url-parameters) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in SEO issues
[Render-blocking JavaScript](/seo-issues/render-blocking-javascript) [5xx server errors](/seo-issues/server-errors-5xx)

More in Crawlability
[Infinite URL parameters](/seo-issues/infinite-url-parameters) [Nofollow internal links](/seo-issues/nofollow-internal-links) [Orphan pages](/seo-issues/orphan-pages) [Page blocked by robots.txt](/seo-issues/blocked-by-robots-txt) [Pages too deep in your site structure](/seo-issues/pages-too-deep) [Robots.txt blocks CSS or JavaScript](/seo-issues/robots-txt-blocks-css-js) [robots.txt not found](/seo-issues/robots-txt-not-found) [Sitemap contains non-200 URLs](/seo-issues/sitemap-contains-non-200-urls) [Sitemap not found](/seo-issues/sitemap-not-found) [XML sitemap too large](/seo-issues/sitemap-too-large)

Terms on this page
[Google Search Console](/glossary/google-search-console) [URL Inspection tool](/glossary/url-inspection-tool) [robots.txt](/glossary/robots-txt) [Noindex](/glossary/noindex) [SERP](/glossary/serp) [HTTPS](/glossary/https) [XML sitemap](/glossary/xml-sitemap)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
