Skip to content

Commit 407a099

Browse files
managed robots.txt
1 parent 9f5efd0 commit 407a099

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
pcx_content_type: reference
3+
title: Direct AI crawlers with managed robots.txt
4+
sidebar:
5+
order: 8
6+
label: Managed robots.txt
7+
---
8+
9+
import { Render, Tabs, TabItem } from "~/components"
10+
11+
Protect your website or application from AI crawlers by implementing a `robots.txt` file on your domain to direct AI bot operators on what content they can and cannot scrape for AI model training.
12+
13+
Cloudflare's managed `robots.txt` explicitly disallows known bots engaged in scraping for AI purposes and AI agent activity.
14+
15+
AI bots are expected to follow the `robots.txt` directives. Otherwise, they risk getting banned.
16+
17+
To implement a `robots.txt` file on your domain based on your plan:
18+
19+
<Tabs>
20+
<TabItem label="Bot Fight Mode">
21+
<Render file="enable-managed-robots-txt" params={{ one: "Bot Fight Mode" }} />
22+
</TabItem>
23+
<TabItem label="Super Bot Fight Mode">
24+
<Render file="enable-managed-robots-txt" params={{ one: "Super Bot Fight Mode" }} />
25+
</TabItem>
26+
<TabItem label="Bot Management for Enterprise">
27+
<Render file="enable-managed-robots-txt" params={{ one: "Bot Management" }} />
28+
</TabItem>
29+
</Tabs>
30+
31+
:::note
32+
When you select the toggle to implement a `robots.txt` file on your domain, existing `robots.txt` files will be replaced.
33+
:::
34+
35+
## Availability
36+
Managed `robots.txt` for AI crawlers is available on all plans.

src/content/docs/bots/additional-configurations/static-resources.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pcx_content_type: reference
33
title: Static resource protection
44
sidebar:
5-
order: 8
5+
order: 9
66

77
---
88

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
inputParameters: params1
3+
4+
---
5+
6+
import { Markdown } from "~/components"
7+
8+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
9+
2. Go to **Security** > **Bots**.
10+
3. Select **Configure {props.one}**.
11+
4. On **Manage bot traffic with robots.txt**, select the toggle.

0 commit comments

Comments
 (0)