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.
- GPTBot requests robots.txtReads your rules before crawling
- Disallow: / for GPTBotRule tells it to stay out
- Pages not collectedServices and pricing are skipped
- 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
Open your robots.txt
Visit
https://yourdomain.com/robots.txtin a browser. Check every subdomain you care about, because each has its own file.Look for a GPTBot group
Search the page for
GPTBot. A lineDisallow: /under it blocks the whole site. A line likeDisallow: /blog/blocks only that folder.Check the wildcard group
If there is no GPTBot group, GPTBot follows
User-agent: *. ADisallow: /there blocks it too.Test from the command line
Run
curl -s https://yourdomain.com/robots.txtto see the raw file your server returns, which can differ from what a plugin shows in the admin area.
# 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.
User-agent: GPTBot
Allow: /User-agent: GPTBot
Disallow: /checkout/
Disallow: /account/
Disallow: /wp-admin/
Allow: /Check for a physical file
If a
robots.txtfile exists in your site root, edit it over SFTP or your host's file manager.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.
Check Settings > Reading
If 'Discourage search engines from indexing this site' is ticked, untick it. It adds a blanket Disallow rule.
Edit the template
Go to Online Store > Themes > Edit code and open or add
robots.txt.liquidunder Templates.Remove the custom block
Delete any GPTBot Disallow lines you or an app added, then save. Shopify's default file does not block GPTBot.
Open SEO settings
Go to Site settings > SEO > Indexing and find the robots.txt editor.
Edit and publish
Remove the GPTBot Disallow lines, save, and publish the site so the change goes live.
Open the robots.txt editor
Go to Marketing & SEO > SEO Tools > Robots.txt Editor.
Change the rules
Remove the GPTBot Disallow lines and save.
Check what is possible
Squarespace generates robots.txt automatically and, at the time of writing, offers limited editing. Check Settings > Crawlers or the Squarespace help centre for the current options for AI crawlers.
Edit the file in your web root
Open
robots.txt, change or remove the GPTBot group, and deploy.Clear caches
Purge any CDN or server cache so the new file is served.
How to confirm it's fixed
- Open
/robots.txtin a private window and confirm the GPTBot Disallow rule is gone. - Check no
User-agent: *group containsDisallow: /. - Run
curl -s https://yourdomain.com/robots.txtto confirm the live file matches your edit. - Confirm the file returns HTTP 200, not 404 or 5xx.
- Check
www, non-wwwand any subdomains. - Check your CDN or firewall settings for AI crawler blocks.
How to prevent it happening again
- 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.
Related issues
- SEO-378OAI-SearchBot / ChatGPT-User blocked (no ChatGPT search citations)Fix guide
- SEO-384AI crawlers blocked by WAF or CDN bot settings (Cloudflare AI block)Fix guide
- SEO-385AI crawlers get CAPTCHA or JS challengeFix guide
- SEO-381Google-Extended blocked unintentionallyFix guide
- SEO-379ClaudeBot / Claude-User / Claude-SearchBot blockedFix guide
- SEO-380PerplexityBot / Perplexity-User blockedFix guide