99creatix Book a 15-minute fit call
Glossary · Technical SEO

robots.txt

Reviewed 31 Oct 2026 By Madiha Fatima 4 min read Check it yourself: yes, free

4 min
Definition

Robots.txt is a small text file at the root of your website that tells search engine crawlers which parts of the site they may visit and which to leave alone. It is the first thing a crawler reads when it arrives. Most sites need only a few lines in it, and one wrong line can hide the whole site.

It controls visiting, not ranking, and it is a request rather than a lock. A blocked page can still appear in results if other sites link to it, so it is not a way to keep anything private.

Short version: the sign on the door that tells crawlers where they may go.
Why it matters for your business

One line in one file
can switch Google off.

Most owners never see this file and never need to. It matters because of what goes wrong with it. A developer builds the new site on a staging site, blocks crawlers so the half-finished version does not get indexed, then copies everything to the live domain including the block. The site looks perfect. Google stops visiting. Rankings fade over weeks and nobody connects the two.

The same file is now where AI access is decided. Security and speed plugins increasingly add rules that block the crawlers behind ChatGPT, Claude and Perplexity. If being recommended in those answers matters to you, and for most service businesses it already does, you want to know whether your site has quietly opted out. That belongs in any SEO audit, and it costs nothing to check.

Example

A law firm's new site goes live
with the staging rule still in it.

What the firm sees

A new site, launched on time. Practice-area pages for family, property and employment law, each written with care. Six weeks later the old rankings have gone and the agency says Google takes time.

User-agent: * Disallow: /
What Google sees

A door with a sign saying keep out. Googlebot reads the file, finds every path blocked and crawls nothing. The pages it already knew keep their place for a while, then drift down because it cannot see them being updated. The fix is deleting one line. The cost of not noticing is every lead the site would have brought in while nobody looked.

Try it
  • /family-law/
  • /property-law/
  • /employment-law/
  • /contact/

With the staging rule left in, every path is off limits. Google sees the sign and leaves. Nothing new gets crawled, including the pages you most want found.

How to check it on your site

Four checks, two minutes each.

Tick each one as you go. 0 of 4 checked on your site.

  1. Open the file yourself

    Type your domain followed by /robots.txt into the browser. A good result is a few lines blocking the admin area and pointing at your sitemap. A bad result is Disallow: / under User-agent: *, which blocks everything, or a file that does not exist at all, which is harmless but sloppy.

  2. Look for AI crawler blocks

    In that same file, search for GPTBot, ClaudeBot, PerplexityBot or Google-Extended. If they are listed with Disallow: /, your site has opted out of AI answers. That may be what you want. It should be a decision you made, not a plugin default.

  3. Check the Pages report for blocked pages

    In Google Search Console, open Pages and look for Blocked by robots.txt. Admin and cart pages there are fine. Service pages, product pages or blog posts there are the problem.

  4. Test one important page

    Paste your best service page into URL inspection in Search Console. It should say crawling is allowed. If it says blocked by robots.txt, send the developer the exact line and ask for it to be removed the same day.

Related service

Crawl access, including who you have let in and kept out, is checked in month one of the SEO service and before every launch we handle. Prices are on the price list, not on a call.

See the SEO service
Reviewed by Madiha Fatima, founder of 99creatix

Every entry in this glossary is written and checked by the person who runs the agency, reviewed at least once a quarter and dated. Last reviewed 31 October 2026.

Spotted an error or a term we are missing? Tell us and it is fixed within the week.

Did this explain it?
Next step

Not sure what your
robots.txt says?

Fifteen minutes with your domain and your Search Console. We will read the file with you, tell you what each line does and whether anything in it is costing you visits, before you decide anything.