ai newsMi., 25. Nov.
EilmeldungYale’s Sonnenfeld: Nvidia is a ‘detriment’ to U.S. industrial might — not a champion

Cloudflare-Einstellungen verstecken Websites vor ChatGPT

Eine Robots.txt-Prüfung ist nur der erste Schritt für AI-Sichtbarkeit: Ein CDN-Scan von 636 Websites zeigt, dass Cloudflare-Konfigurationen ChatGPT den Zugriff blockieren können, ohne dass Disallow-Regeln sichtbar wären.

dev.toMontag 09:00 · 23.11.DE4 Min. Lesezeit
Bild: dev.to

Eine robots.txt-Prüfung ist der übliche erste Schritt für die KI-Sichtbarkeit. Sie erkennt explizite Disallow-Regeln. Sie erkennt Cloudflare nicht.

Ich habe einen Scan auf CDN-Ebene über 636 Websites durchgeführt (166 aus unserer Prüfhistorie, 470 aus der Tranco-Liste, Ränge 1k-50k). 513 lieferten eine Antwort. Für jede Website sendet das Tool sieben HTTP-Anfragen: eine als Chrome-Browser, sechs als KI-Crawler (GPTBot, OAI-SearchBot, PerplexityBot, Claude-SearchBot, Googlebot, Applebot). Es vergleicht Statuscodes und Body-Größen. Erhält der KI-Bot einen 403, 429, 451 oder 503, während der Browser eine 200 erhält, liegt eine Blockierung auf CDN-Ebene vor.

172 der 513 erreichbaren Websites laufen über Cloudflare. 59 davon (34,3 %) blockieren mindestens einen KI-Crawler auf HTTP-Ebene. Bei Websites ohne Cloudflare liegt die Quote bei 12,0 % (41 von 341).

Generischer Botschutz (55 Websites). Auch die Browser-Anfrage wird blockiert. 40 dieser 55 laufen über Cloudflare. 49 der 55 blockieren alle sechs KI-Bots und den Browser einheitlich. 50 liefern einen 403. So sieht Bot Fight Mode oder eine verwaltete WAF-Regel von außen aus: Jeder Nicht-Browser-User-Agent wird gleich behandelt. Jemand hat eine Einstellung aktiviert und war fertig.

KI-spezifische Blockierung (45 Websites). Der Browser kommt durch, aber bestimmte KI-Bots werden blockiert. 19 dieser 45 laufen über Cloudflare. GPTBot wird in 38 der 45 Fälle blockiert, PerplexityBot in 26. Das ist das Muster einer konfigurierten Regel: Jemand hat ausgewählt, welche Crawler blockiert werden, und den Rest unangetastet gelassen. Man blockiert nicht versehentlich ausschließlich GPTBot.

Der Cloudflare Bot Fight Mode schreibt nichts in die robots.txt. Er fängt Anfragen am Edge ab, bevor sie den Origin-Server erreichen. Eine robots.txt-Prüfung zeigt keine Disallow-Regeln für KI-Crawler. Die Website wirkt völlig offen. GPTBot erhält trotzdem einen 403.

Genau diese Lücke hatte seotto in den Kommentaren zum vorherigen Artikel angesprochen: „Eine Bot-Challenge am Edge taucht nie in der robots.txt auf, daher kann eine Website völlig offen wirken und GPTBot trotzdem einen 403 liefern.“ Die Daten bestätigen das. Von den 100 Websites mit HTTP-Level-Blockierung in dieser Stichprobe blockieren 55 auch den Browser. Eine robots.txt-Prüfung würde auf diesen Websites ein sauberes Ergebnis liefern. Die Blockierung ist unsichtbar.

Lesen Sie Ihre robots.txt. Suchen Sie nach Disallow-Regeln unter GPTBot, OAI-SearchBot, PerplexityBot, ClaudeBot, Claude-SearchBot, Googlebot. Wenn Sie bei einem davon Disallow: / sehen, kann dieser Crawler Ihre Website nicht lesen.

Prüfen Sie Ihr Cloudflare-Dashboard. Security > Bots > Bot Fight Mode. Ist er aktiviert, blockiert er Traffic von „definitiv automatisierten“ und „verifizierten Bots“. Cloudflares Liste verifizierter Bots umfasst GPTBot und Googlebot, sodass der Bot Fight Mode diese durchlassen sollte. Aber Super Bot Fight Mode und benutzerdefinierte WAF-Regeln können das außer Kraft setzen. Prüfen Sie Security > WAF > Custom rules auf Regeln, die basierend auf dem User-Agent blockieren.

Senden Sie eine HTTP-Anfrage als GPTBot. curl -A "GPTBot/1.2" -s -o /dev/null -w "%{http_code}" https://yoursite.com. Erhalten Sie einen 403, werden Sie am Edge blockiert. Erhalten Sie einen 200 oder 301, ist alles in Ordnung. Vergleichen Sie mit einer Browser-Anfrage: curl -A "Mozilla/5.0" -s -o /dev/null -w "%{http_code}" https://yoursite.com.

Es gibt einen dritten Fall, den der aktuelle Scan noch nicht erkennen kann: Websites, die unbekannte User-Agents blockieren, aber verifizierte KI-Crawler zulassen. Das würde bedeuten, dass die Website aktiven Botschutz hat, aber GPTBot und ClaudeBot bewusst durchlässt. Der Test dafür ist eine vierte HTTP-Anfrage mit einem erfundenen User-Agent. Wird der erfundene Agent blockiert, während GPTBot durchkommt, gehört die Website zur Kategorie „Botschutz aktiv, KI erlaubt“.

Ich habe eine Website von 513 in dieser Kategorie gefunden: udayavani.com, eine Website hinter Cloudflare, die dem Browser einen 403 liefert, während alle sechs KI-Crawler die Seite erhalten. Das sind 0,2 % der Stichprobe. Die vierte Anfrage ist in der aktuellen Version des Tools nicht implementiert, daher kann ich nicht bestätigen, dass der erfundene Agent ebenfalls blockiert würde. Das steht auf der Roadmap für das nächste Release.

Läuft Ihre Website über Cloudflare und Sie haben nie geprüft, ob KI-Crawler sie erreichen können, führen Sie den Test durch. Die robots.txt wird es Ihnen nicht verraten. Ihr Cloudflare-Dashboard könnte es, wenn Sie wissen, wo Sie suchen müssen. Der curl-Befehl verrät es Ihnen in 5 Sekunden.

Wenn Sie die vollständige Prüfung über 27 KI-Crawler möchten, führen Sie ein kostenloses Audit auf geoready.dev durch. Das Audit liest die robots.txt und sendet Live-HTTP-Anfragen als die vier wichtigsten Zitier-Bots.

Das CLI liegt auf GitHub, MIT-lizenziert. pip install geo-optimizer && geo audit https://yoursite.com.

Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.

Original (Englisch) anzeigen

A robots.txt audit is the standard first step for AI visibility. It catches explicit Disallow rules. It does not catch Cloudflare.

I ran a CDN-level scan on 636 sites (166 from our audit history, 470 from the Tranco list, ranks 1k-50k). 513 returned a response. For each site, the tool sends seven HTTP requests: one as a Chrome browser, six as AI crawlers (GPTBot, OAI-SearchBot, PerplexityBot, Claude-SearchBot, Googlebot, Applebot). It compares status codes and body sizes. If the AI bot gets a 403, 429, 451, or 503 while the browser gets a 200, that is a CDN-level block.

172 of the 513 reachable sites are Cloudflare-fronted. 59 of those (34.3%) block at least one AI crawler at the HTTP level. For non-Cloudflare sites, the rate is 12.0% (41 out of 341).

Generic bot protection (55 sites). The browser request also gets blocked. 40 of these 55 are Cloudflare-fronted. 49 of the 55 block all six AI bots plus the browser uniformly. 50 return 403. This is what Bot Fight Mode or a WAF managed rule looks like from the outside: every non-browser user agent gets the same treatment. Someone enabled a setting and moved on.

AI-specific block (45 sites). The browser passes, but specific AI bots get blocked. 19 of these 45 are Cloudflare-fronted. GPTBot is blocked in 38 of the 45 cases. PerplexityBot in 26. This is the pattern of a configured rule: someone selected which crawlers to block and left the rest alone. You do not accidentally block only GPTBot.

Cloudflare Bot Fight Mode does not write to robots.txt. It intercepts requests at the edge before they reach the origin server. A robots.txt audit will show no Disallow rules for AI crawlers. The site looks wide open. GPTBot is still getting a 403.

This is the gap that seotto flagged in the comments on the previous article: "a bot challenge at the edge never shows up in robots.txt, so a site can look wide open and still hand GPTBot a 403." The data confirms it. Among the 100 sites with HTTP-level blocking in this sample, 55 also block the browser. A robots.txt check on those sites would return clean. The block is invisible.

Read your robots.txt. Look for Disallow rules under GPTBot, OAI-SearchBot, PerplexityBot, ClaudeBot, Claude-SearchBot, Googlebot. If you see Disallow: / under any of them, that crawler cannot read your site.

Check your Cloudflare dashboard. Security > Bots > Bot Fight Mode. If it is on, it blocks "definitely automated" and "verified bots" traffic. Cloudflare's verified bot list includes GPTBot and Googlebot, so Bot Fight Mode should let them through. But Super Bot Fight Mode and custom WAF rules can override that. Check Security > WAF > Custom rules for any rule that blocks based on user agent.

Send an HTTP request as GPTBot. curl -A "GPTBot/1.2" -s -o /dev/null -w "%{http_code}" https://yoursite.com. If you get 403, you are blocked at the edge. If you get 200 or 301, you are fine. Compare with a browser request: curl -A "Mozilla/5.0" -s -o /dev/null -w "%{http_code}" https://yoursite.com.

There is a third case that the current scan cannot detect yet: sites that block unrecognized user agents but allow verified AI crawlers. This would mean the site has bot protection active but has chosen to let GPTBot and ClaudeBot through. The test for this is a fourth HTTP request with a made-up user agent. If the made-up agent gets blocked while GPTBot passes, the site is in the "bot protection, AI allowed" bucket.

I found one site out of 513 in this bucket: udayavani.com, a Cloudflare-fronted site that returns 403 to the browser while all six AI crawlers get the page. That is 0.2% of the sample. The fourth request is not implemented in the current version of the tool, so I cannot confirm the made-up agent would also be blocked. It is on the roadmap for the next release.

If your site is on Cloudflare and you have never checked whether AI crawlers can reach it, run the test. The robots.txt file will not tell you. Your Cloudflare dashboard might, if you know where to look. The curl command will, in 5 seconds.

If you want the full check across 27 AI crawlers, run a free audit on geoready.dev. The audit reads robots.txt and sends live HTTP requests as the four most important citation bots.

The CLI is on GitHub, MIT licensed. pip install geo-optimizer && geo audit https://yoursite.com.

Originaltitel: Your Cloudflare settings are hiding your site from ChatGPT. Here's how to check.Quelle: dev.to (dev.to). Original öffnen