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

Disable robots.txt generation. #774

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

timcosgrove
Copy link
Contributor

@timcosgrove timcosgrove commented Oct 2, 2024

Description

Currently we output a simple default robots.txt file with the next-sitemap plugin. This PR disables that so that the existing robots.txt from Content Build continues to be used.

Ticket

#773 , indirectly. This PR does not close that ticket.

Developer Task

Tasks

Testing Steps

  1. Go to the admin for the Tugboat instance associated with this PR: https://tugboat.vfs.va.gov/66fdd05e25a4ad7d7601e0bd
  2. Enter 'Terminal' for the main web preview. This may take a second if the preview is currently suspended.
  3. Run cd out && ls -al robots.txt

If the file is not found, the behavior is correct. We are removing the file with this PR.

If you see a file there and it has content like the following (less robots.txt), this PR is not passing:

# *
User-agent: *
Allow: /

# Host
Host: https://pr768-hrqyjsstuyk6vydpmua8bvdyp6fzfmci.tugboat.vfs.va.gov/

# Sitemaps
Sitemap: https://pr768-hrqyjsstuyk6vydpmua8bvdyp6fzfmci.tugboat.vfs.va.gov/sitemap.xml

@va-cms-bot va-cms-bot temporarily deployed to Tugboat October 2, 2024 22:59 Destroyed
@mreed101 mreed101 merged commit 13f1c05 into main Oct 7, 2024
10 checks passed
@mreed101 mreed101 deleted the tcosgrove_disable_robotstxt branch October 7, 2024 15:45
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.

4 participants