Skip to content

Add a robots.txt that points to the sitemap - #199

Merged
bendichter merged 2 commits into
mainfrom
robots-txt
Oct 11, 2026
Merged

bendichter merged 2 commits into
mainfrom
robots-txt

Conversation

@bendichter

Copy link
Copy Markdown
Contributor

https://nwb.org/robots.txt returns 404. Hugo already generates sitemap.xml, but nothing tells crawlers where it is. This turns on Hugo's robots.txt output with a template that allows everything and gives the sitemap address.

🤖 Generated with Claude Code

nwb.org/robots.txt returns 404. Hugo already generates sitemap.xml, but
nothing tells crawlers where it is. The new file allows everything and
gives the sitemap address.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit d924d6b
🔍 Latest deploy log https://app.netlify.com/projects/nwborg/deploys/6ac94158c91e480008281f2e
😎 Deploy Preview https://deploy-preview-199--nwborg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@oruebel oruebel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, although I could not confirm that the deploy preview actually created a robot.txt

@rly

rly commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

I confirmed. It's at https://deploy-preview-199--nwborg.netlify.app/robots.txt

@bendichter
bendichter merged commit 2982a7a into main Oct 11, 2026
6 checks passed
@bendichter
bendichter deleted the robots-txt branch October 11, 2026 14:25
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.

3 participants