Skip to the content
BacklinkLaunch

Glossary

What is robots.txt?

robots.txt is a plain text file at the root of a website, at /robots.txt, that tells crawlers which parts of the site they may fetch.

A safe example

User-agent: *
Disallow: /app/
Sitemap: https://example.com/sitemap.xml

This lets every crawler read everything except addresses that start with /app/, and says where the sitemap is.

What it can’t do

  • It doesn’t hide a page from search results. A blocked address can still be listed, without a description, if other sites link to it. To keep a page out of results, use noindex and leave the page crawlable so the tag can be read.
  • It isn’t security. The file is public, and following it is voluntary. Anything private needs a sign-in.

The mistake that costs the most

Disallow: / blocks the whole site. It is often left over from a staging site, where it was there on purpose. If a new site doesn’t show up in search after a few weeks, this file is the first thing to read.

Other things to know

  • Don’t block your CSS and JavaScript. Search engines render pages and need them.
  • A missing robots.txt is fine: it means everything may be crawled.
  • Each subdomain has its own file.
  • AI crawlers have their own names, such as GPTBot, and can be allowed or refused in the same way.

Go further

Want the submissions done for you?

Our AI agent submits your product and reports every listing. One payment, from $39.

See the packages