-
Notifications
You must be signed in to change notification settings - Fork 10k
[Bots] Managed robots.txt #22026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[Bots] Managed robots.txt #22026
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
407a099
managed robots.txt
patriciasantaana b81a5fb
security settings
patriciasantaana 7265e20
release notes entry
patriciasantaana 228ff81
Update src/content/docs/bots/additional-configurations/managed-robots…
patriciasantaana 17e6b30
Apply suggestions from code review
patriciasantaana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
src/content/docs/bots/additional-configurations/managed-robots-txt.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| pcx_content_type: reference | ||
| title: Direct AI crawlers with managed robots.txt | ||
| sidebar: | ||
| order: 8 | ||
| label: Managed robots.txt | ||
| --- | ||
|
|
||
| import { Render, Tabs, TabItem } from "~/components" | ||
|
|
||
| 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. | ||
|
|
||
| Cloudflare's managed `robots.txt` explicitly disallows known bots engaged in scraping for AI purposes and AI agent activity. | ||
|
|
||
| AI bots are expected to follow the `robots.txt` directives. Otherwise, they risk getting banned. | ||
|
|
||
| To implement a `robots.txt` file on your domain based on your plan: | ||
|
|
||
| <Tabs> | ||
| <TabItem label="Bot Fight Mode"> | ||
| <Render file="enable-managed-robots-txt" params={{ one: "Bot Fight Mode" }} /> | ||
| </TabItem> | ||
| <TabItem label="Super Bot Fight Mode"> | ||
| <Render file="enable-managed-robots-txt" params={{ one: "Super Bot Fight Mode" }} /> | ||
| </TabItem> | ||
| <TabItem label="Bot Management for Enterprise"> | ||
| <Render file="enable-managed-robots-txt" params={{ one: "Bot Management" }} /> | ||
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| :::note | ||
| When you enable the `robots.txt` file on your domain, existing `robots.txt` files will be replaced. | ||
| ::: | ||
|
|
||
| ## Availability | ||
| Managed `robots.txt` for AI crawlers is available on all plans. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
| pcx_content_type: reference | ||
| title: Static resource protection | ||
| sidebar: | ||
| order: 8 | ||
| order: 9 | ||
|
|
||
| --- | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| inputParameters: params1 | ||
|
|
||
| --- | ||
|
|
||
| import { Markdown } from "~/components" | ||
|
|
||
| 1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain. | ||
| 2. Go to **Security** > **Bots**. | ||
| 3. Select **Configure {props.one}**. | ||
| 4. On **Manage bot traffic with robots.txt**, select the toggle. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.