Skip to content
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

Introduce Default robots.txt Files #4329

Merged
merged 7 commits into from
Oct 10, 2024
Merged

Introduce Default robots.txt Files #4329

merged 7 commits into from
Oct 10, 2024

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Oct 10, 2024

Changes

With this PR, we're introducing default robots.tsx files, that will be included with every Webiny project:

  • apps/admin/public/robots.txt
  • apps/website/public/robots.txt

Out of the two, the one that's used with the Admin app is more important, as it'll reject all robots/crawlers.

Note

Prior to this PR, there would be a chance user's Admin app would get picked up by search engines, which is certainly something we don't want. 😬

Note that, for existing project, the new robots.txt files will be created during the project upgrade process.

How Has This Been Tested?

Manually.

Documentation

Changelog.

@adrians5j adrians5j added this to the 5.41.0 milestone Oct 10, 2024
@adrians5j adrians5j marked this pull request as ready for review October 10, 2024 12:16
@adrians5j adrians5j changed the title Default robots.txt Files Introduce Default robots.txt Files Oct 10, 2024
@adrians5j adrians5j merged commit 9ce5e75 into next Oct 10, 2024
95 of 96 checks passed
@adrians5j adrians5j deleted the adrian/robots-txt-files branch November 12, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant