Skip to content
FunnelGuard

Fix guide by FunnelsGuard

GPTBot blocked in robots.txt: how to check and fix it

SEO-377Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

robots.txt is a plain text file at the root of your domain (for example https://example.com/robots.txt). It tells crawlers which paths they may fetch. Well-behaved crawlers read it before they request pages.

GPTBot is the user agent OpenAI uses to crawl public web pages that may be used to train its generative AI models. If your file contains a rule that disallows it, GPTBot will skip your pages. The rule can be deliberate, added by a plugin or a hosting default, or caused by a wildcard rule such as User-agent: * with Disallow: / left over from a staging site.

Why it costs you leads or sales

People increasingly ask AI assistants which product, agency or service to choose. If OpenAI's training crawler cannot read your pages, your pricing, services and positioning are less likely to be part of what its models learn about you. That can leave you out of, or misdescribed in, answers where buyers are comparing options.

How a GPTBot block limits AI visibility
  1. GPTBot requests robots.txtReads your rules before crawling
  2. Disallow: / for GPTBotRule tells it to stay out
  3. Pages not collectedServices and pricing are skipped
  4. Less knowledge of your brandModels learn from other sources instead

The break happens at the first step, so later steps never get your content from this crawler.

How to check if your site has it

Check your robots.txt for GPTBot rules
  1. Open your robots.txt

    Visit https://yourdomain.com/robots.txt in a browser. Check every subdomain you care about, because each has its own file.

  2. Look for a GPTBot group

    Search the page for GPTBot. A line Disallow: / under it blocks the whole site. A line like Disallow: /blog/ blocks only that folder.

  3. Check the wildcard group

    If there is no GPTBot group, GPTBot follows User-agent: *. A Disallow: / there blocks it too.

  4. Test from the command line

    Run curl -s https://yourdomain.com/robots.txt to see the raw file your server returns, which can differ from what a plugin shows in the admin area.

Examples of rules that block GPTBottext
# Blocks GPTBot on purpose
User-agent: GPTBot
Disallow: /

# Blocks every crawler, including GPTBot
User-agent: *
Disallow: /

How to fix it

Pick the outcome you want, then edit the file. You can allow GPTBot everywhere, or allow it only on public marketing pages and keep private areas closed.

Allow GPTBot on the whole sitetext
User-agent: GPTBot
Allow: /
Allow GPTBot but keep private paths closedtext
User-agent: GPTBot
Disallow: /checkout/
Disallow: /account/
Disallow: /wp-admin/
Allow: /
Where to edit robots.txt on each platform
  1. Check for a physical file

    If a robots.txt file exists in your site root, edit it over SFTP or your host's file manager.

  2. Use your SEO plugin

    In Yoast SEO, go to Tools > File editor. In Rank Math, go to General Settings > Edit robots.txt. Remove the GPTBot block and save.

  3. Check Settings > Reading

    If 'Discourage search engines from indexing this site' is ticked, untick it. It adds a blanket Disallow rule.

How to confirm it's fixed

Confirmation checks
  • Open /robots.txt in a private window and confirm the GPTBot Disallow rule is gone.
  • Check no User-agent: * group contains Disallow: /.
  • Run curl -s https://yourdomain.com/robots.txt to confirm the live file matches your edit.
  • Confirm the file returns HTTP 200, not 404 or 5xx.
  • Check www, non-www and any subdomains.
  • Check your CDN or firewall settings for AI crawler blocks.

How to prevent it happening again

Prevention habits
  • Keep a written decision on which AI crawlers you allow and why.
  • Store robots.txt in version control if you use custom code, so changes are reviewed.
  • After a site launch or migration, re-check robots.txt for staging rules.
  • Review the file after installing or updating SEO, security or 'AI blocker' plugins.
  • Check it on a regular schedule, for example monthly.

How FunnelGuard handles this

FunnelGuard does not check robots.txt rules for GPTBot today. It is a possible future check, not a current feature.

What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys on a schedule (lead forms, checkouts, booking and chat buttons) and checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. That protects the conversion path, not crawler access.

Questions people ask

Why is GPTBot blocked on my website?

Usually because robots.txt has a User-agent: GPTBot group with Disallow: /, or a wildcard User-agent: * group with Disallow: /. It may have been added by an SEO plugin, a host default, a staging setting that was never removed, or by someone on your team.

How do I allow GPTBot in robots.txt?

Remove the Disallow rule for GPTBot, or add a group with User-agent: GPTBot and Allow: /. Save the file, then open it in a browser to confirm the live version shows the change.

Should I block GPTBot?

It depends on your goals. Block it if you do not want your content used to train OpenAI models. Allow it if you want your brand and offers to be represented in AI answers. Either way, make it a deliberate choice.

Is GPTBot the same as OAI-SearchBot or ChatGPT-User?

No. GPTBot collects pages that may be used for model training. OAI-SearchBot and ChatGPT-User are separate user agents used for ChatGPT search and user-initiated browsing, so each needs its own rule in robots.txt.

How do I check if GPTBot is blocked in robots.txt?

Open yourdomain.com/robots.txt and look for a GPTBot group. If there is none, check the User-agent: * group, because GPTBot follows it. A Disallow: / in either one means it is blocked.

Does robots.txt guarantee GPTBot will obey it?

OpenAI states that GPTBot respects robots.txt, but robots.txt is a request, not a technical barrier. To stop access entirely you need firewall or server rules, and the same applies in reverse: a firewall can block it even when robots.txt allows it.

How long does a robots.txt change take to work?

Crawlers fetch the file again periodically, so a change is not instant. Make sure caches are cleared so the new file is served, then allow some time for the crawler to pick it up.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.