Skip to content

[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

Open
wants to merge 3 commits into
base: production
Choose a base branch
from

Conversation

patriciasantaana
Copy link
Contributor

Summary

Add documentation on Managed robots.txt

Documentation checklist

Copy link
Contributor

hyperlint-ai bot commented Apr 28, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Added documentation for managing robots.txt to guide users in directing AI crawlers on their websites.

  • Introduced a new documentation page for Managed robots.txt
  • Provided instructions for implementing robots.txt based on different plans
  • Updated the sidebar order for static resource protection documentation

Modified Files

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

Added Files

  • src/content/docs/bots/additional-configurations/managed-robots-txt.mdx
  • src/content/partials/bots/enable-managed-robots-txt.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@patriciasantaana patriciasantaana marked this pull request as ready for review April 28, 2025 18:22
@patriciasantaana patriciasantaana requested a review from a team as a code owner April 28, 2025 18:22
</Tabs>

:::note
When you select the toggle to implement a `robots.txt` file on your domain, existing `robots.txt` files will be replaced.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When you select the toggle to implement a `robots.txt` file on your domain, existing `robots.txt` files will be replaced.
When you enable the `robots.txt` file on your domain, existing `robots.txt` files will be replaced.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is what you meant, but if so I think it's easier to understand - and also, what we have on our style guide

Comment on lines +103 to +104
| [Block definitely automated traffic](/bots/get-started/super-bot-fight-mode/#bot-settings) | **Security** > **Bots** > **Configure Super Bot Fight Mode<br/>Security** > **Bots** > **Configure Bot Management** |
| [Block likely bots](/bots/get-started/super-bot-fight-mode/#bot-settings) | **Security** > **Bots** > **Configure Super Bot Fight Mode<br/>Security** > **Bots** > **Configure Bot Management** |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no #bot-settings anchor link on these pages

Comment on lines +105 to +106
| [Managed `robots.txt`](/bots/additional-configurations/managed-robots-txt/) | **Security** > **Bots** > **Configure Bot Fight Mode<br/>Security** > **Bots** > **Configure Super Bot Fight Mode<br/>Security** > **Bots** > **Configure Bot Management** |
| [Allow verified bots](/bots/get-started/super-bot-fight-mode/#bot-settings) | **Security** > **Bots** > **Configure Super Bot Fight Mode<br/>Security** > **Bots** > **Configure Bot Management** |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. No #bot-settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants