Skip to content
FunnelGuard

Fix guide by FunnelsGuard

AI crawlers hit a CAPTCHA or JS challenge: how to find and fix it

SEO-385High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Many sites sit behind bot protection (a CDN, a web application firewall or a security plugin). When it doubts a visitor, it shows a CAPTCHA, a "Checking your browser" page or a JavaScript challenge. Humans pass these. AI crawlers do not. They fetch the URL, receive the challenge page (often with a 403 or 503 status, sometimes a 200) and move on.

Why it costs you leads or sales

What an AI crawler sees
  1. Crawler requests pageGPTBot or PerplexityBot fetches your URL
  2. Bot protectionServes a CAPTCHA or JS challenge
  3. Content indexedNothing real to read
  4. Cited in AI answerYour brand is not mentioned
  5. Visitor and leadNever arrives

The crawler stops at the challenge, so nothing after it happens.

Pages an AI crawler can readExample numbers
Pages an AI crawler can read (example)Pages a human can open: 200 pages; Pages an AI crawler can read: 20 pages07715320020Pages a human can openPages an AI crawler c…pages

Example: a 200-page site where the challenge triggers on most requests from data-centre IP addresses.

How to check if your site has it

Fetch a page with AI crawler user agentsbash
curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.1; +https://openai.com/gptbot)" https://www.example.com/

curl -s -A "PerplexityBot" https://www.example.com/ | grep -i -E "captcha|just a moment|checking your browser|challenge"
Signs the challenge is hitting AI bots
  • curl returns 403, 429 or 503 where a normal browser returns 200
  • The returned HTML contains words like "Just a moment", "Checking your browser" or a CAPTCHA widget
  • Server or CDN logs show GPTBot, OAI-SearchBot, ClaudeBot or PerplexityBot with challenge or block actions
  • Your security dashboard lists challenged or blocked requests from these user agents
  • Pages are open in a browser but never appear in AI answers

How to fix it

Let verified AI crawlers through
  1. Decide which bots you want

    List the crawlers you want to allow, for example OAI-SearchBot, GPTBot, PerplexityBot, ClaudeBot and Bingbot. Keep any you do not want blocked in robots.txt.

  2. Find the rule that challenges them

    Open the security event log, find a challenged AI request and note which rule, bot setting or rate limit triggered it.

  3. Add an allow rule for verified bots

    Create a rule that skips the challenge for verified bots or for the published IP ranges of each AI company. Place it above the rule that challenges.

  4. Keep protection on for everything else

    Scope the exception to the specific bots and, ideally, to public content pages. Leave checkout, login and form endpoints protected.

  5. Retest

    Repeat the curl test and watch the logs for the next crawl.

Where to change it by platform
  1. Check your security plugin

    In plugins such as Wordfence, Sucuri or similar, review the firewall and rate limiting settings and the blocked requests log. Allowlist the verified crawler IP ranges or relax the rule that challenges them.

  2. Check any CAPTCHA plugin

    Make sure site-wide CAPTCHA or bot-check pages are not applied to public content. Limit CAPTCHA to forms, login and comments.

  3. Check your host and CDN

    Managed hosts often add their own bot protection. Ask support or look in the hosting dashboard.

How to confirm it's fixed

Verify the change
  1. Repeat the curl test

    You should get a 200 and your real page HTML, with no challenge wording.

  2. Watch the event log

    After the next crawl, AI user agents should show as allowed rather than challenged or blocked.

  3. Check key pages

    Test your home page, pricing, product and service pages, and your robots.txt and sitemap.

  4. Be patient with AI answers

    Citations can take days or weeks to change after crawlers re-fetch your pages.

How to prevent it happening again

Prevention habits
  • Review bot protection settings after any CDN, host or security plugin change
  • Keep a written list of allowed AI crawlers and the rule that permits them
  • Check challenged-request logs monthly for AI user agents
  • Re-run the curl test after enabling stricter modes such as "under attack" or higher bot sensitivity
  • Keep CAPTCHA for forms and login, not for public content pages
How the problem usually unfolds
  1. Day 0

    Someone raises bot protection sensitivity after a spam wave.

  2. Day 1

    AI crawlers start receiving challenge pages instead of content.

  3. Weeks later

    Your pages stop appearing in AI answers. Nothing alerts you.

  4. After the fix

    Verified bots are allowed and crawl normally again.

How FunnelGuard handles this

Questions people ask

Why is ChatGPT not citing my website?

One possible cause is that your bot protection shows OpenAI's crawlers a CAPTCHA or JavaScript challenge, so they never see your content. Other causes include robots.txt blocks, thin content or low authority. Check your logs for GPTBot and OAI-SearchBot and test with curl.

Can GPTBot or PerplexityBot solve a CAPTCHA?

No. AI crawlers do not solve CAPTCHAs and generally do not complete JavaScript challenges designed to verify a human browser. They receive the challenge page and leave without reading your content.

How do I know if my CDN is challenging AI crawlers?

Check your CDN or firewall event log and filter by AI user agents such as GPTBot, ClaudeBot and PerplexityBot. If the action shown is challenge or block, they are being stopped. A curl request with an AI user agent that returns a 403 or a challenge page is another sign.

How do I allow AI crawlers without turning off bot protection?

Create an exception that applies only to verified crawlers, using your provider's verified bot feature or the IP ranges each AI company publishes. Place it above the challenge rule and keep protection on for everything else, especially forms and login.

Does robots.txt stop a CAPTCHA from appearing for AI bots?

No. Robots.txt only tells a crawler what it may fetch. A CAPTCHA or JS challenge is applied by your security layer before the page is served, so a bot can be allowed in robots.txt and still be challenged.

Is a user agent test with curl enough to prove the fix?

Not completely. Curl with an AI user agent from your own IP may pass even when real crawlers from data-centre IPs are challenged. Confirm with your server or CDN logs after the next real crawl.

Does FunnelGuard check if AI crawlers are blocked by a CAPTCHA?

Not yet. It is a possible future check. FunnelGuard currently monitors your customer journeys, tracking hits and test lead delivery, so use curl and your CDN logs for this issue.

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.