Skip to content
Arrampa
Language: EN, English
Join

robots.txt

The text file at the root of a website that tells bots which addresses they may visit.

What it is

The robots.txt file is a text file at the root of a website that tells search engine bots which addresses they may crawl and which they may not. It’s used mainly to stop them overloading the server with visits to areas that add nothing, such as internal search results or filters.

It isn’t a way to remove a page from Google: a blocked address can still appear in the results if other sites link to it. For that, use noindex or password protection. The robots.txt file is also where you declare the address of your sitemap.

On a multilingual website

A badly written rule can shut out a whole language. A rule meant to hide a drafts folder called /entwurf/, written as Disallow: /en, also blocks the English version, because it applies to everything that starts with /en. And if you use one subdomain per language, each subdomain has its own robots.txt.

How Arrampa checks it

Arrampa’s SEO audit warns you if your site has no robots.txt or doesn’t declare its sitemap, and notes which AI assistant crawlers you let in.

See the tool: SEO audit

Source: Google Search Central: introduction to robots.txt

Related terms

The full glossary

Want to know when we open?

One email to confirm and one on the day we open. Nothing else.

First we ask you to confirm your email; after that we only write on the day we open. Unsubscribe in one click. How we handle your email.