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

[AP] Implement robots.txt in Next Build #773

Open
3 tasks
timcosgrove opened this issue Oct 2, 2024 · 0 comments
Open
3 tasks

[AP] Implement robots.txt in Next Build #773

timcosgrove opened this issue Oct 2, 2024 · 0 comments

Comments

@timcosgrove
Copy link
Contributor

Description

Robots.txt is currently managed by Content Build. This will need to move to Next Build as part of the migration away from Content Build.

The contents of Robots.txt should be revisited with various teams/people to ensure it is up-to-date and serving needs correctly.

Acceptance Criteria

  • The appropriate teams and people are consulted to figure out desired content in robots.txt
  • Robots.txt is implemented within Next Build per Next.js guidelines to produce the desired content
  • Robots.txt acts appropriate for each environment

Supporting details

Interested people

  • Mikki Northeius
  • Frontend COP
  • Analytics team, potentially

Robots.txt in Next.js

Next.js provides documentation for implementing robots.txt. This would almost certainly be a Typescript file that responds to app environment so that it can provide the correct output per environment.

Current robots.txt

The current robots.txt from Content Build is a text file. However, the file is processed by an Update Robots plugin that rewrites robots.txt to simply disallow crawling.

There are a number of Disallow rules that may no longer apply. Each of these should be revisited.

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

No branches or pull requests

1 participant