Skip to content

Add robots.txt to block crawlers from Treeherder pages - #79

Merged
92kns merged 1 commit into
mozilla:mainfrom
92kns:add-robots-txt
Oct 20, 2026
Merged

92kns merged 1 commit into
mozilla:mainfrom
92kns:add-robots-txt

Conversation

@92kns

@92kns 92kns commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Might help with a recent spike in TH requests.

@mstange any thoughts on adding a robots.txt? one risk is it may result in the dashboard not showing up properly in eg a google search, but i don't know if that's a concern or not at this moment

@92kns
92kns requested a review from mstange October 15, 2026 16:13
@92kns

92kns commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Might help with a recent spike in TH requests.

@mstange any thoughts on adding a robots.txt? one risk afaict is it may result in the dashboard not showing up properly in eg a google search, but i don't know if that's a concern or not.

hmmm i cant even find this in a search engine so maybe it's fine

@mstange

mstange commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

My thoughts are that this probably won't make a difference. AI crawlers ignore robots.txt.

@92kns

92kns commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

I agree this likely won't make much of a difference. But I think I'll merge this as it should be pretty harmless.
At the very least, Googlebot, GPTBot, and Anthropic state that they respect robots.txt, so it might help a bit

@92kns
92kns merged commit bcd4984 into mozilla:main Oct 20, 2026
2 checks passed
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.

2 participants