Skip to content

Robots.txt

robots.txt gives rules to cooperating crawlers; it provides neither access protection nor reliable exclusion from the search index.

Search and findability

Manage fetches, not confidential access

The robots.txt file tells crawlers which areas they should or should not fetch. Compliance depends on the crawler. In a fictional example, certain catalogue filter combinations should not be crawled because they generate many similar views.

Google may still discover a blocked URL through other links and index it without reading the page content. Keeping a page out of the index requires different handling of a suitable rule such as noindex: Google must be able to read it on the page or in its response. Confidential documents need actual access controls. Also check whether blocks affect necessary scripts or styles and thus the understanding of public pages.

Sources