Skip to content

[WIP] Add robots.txt to docs site for AI crawler indexing#45792

Closed
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/geo-optimizer-add-robots-txt
Closed

[WIP] Add robots.txt to docs site for AI crawler indexing#45792
pelikhan with Copilot wants to merge 1 commit into
mainfrom
copilot/geo-optimizer-add-robots-txt

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>[geo-optimizer] Add robots.txt to docs site to allow AI crawler indexing</issue_title>
<issue_description>## GEO Improvement: Add robots.txt to docs site

Source audit: GEO Audit Report — 2026-07-15
Audit date: 2026-07-15
Run: §29433981536

Finding

robots.txt check scored 0/18 for github.github.com/gh-aw/. The file is missing entirely — AI bots (GPTBot, ClaudeBot, PerplexityBot) are receiving 301 redirects with no explicit crawl permissions defined.

Audit recommendation: "Create robots.txt with Allow rules for AI bots (GPTBot, ClaudeBot, PerplexityBot)"

Why this matters

The robots.txt file is the highest-weighted single check in the GEO audit (18 points maximum). Without it, AI search engines have no explicit permission signal to index and cite the docs site. The README already correctly allows 27 AI bots — the docs site needs the same treatment to unlock AI citation coverage across all 10 audited pages (currently all in the Foundation band, 36–44/100).

Estimated score impact: +~15 points on docs site GEO score (44 → ~59/100).

Suggested fix

  1. Create static/robots.txt (or equivalent static file path for the Astro docs site) at the root of github.github.com/gh-aw/.
  2. Add Allow directives for key AI bots, mirroring the README's robots.txt pattern:
User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: anthropic-ai
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: Googlebot
Allow: /

User-agent: *
Allow: /

Sitemap: https://github.github.com/gh-aw/sitemap.xml
  1. Verify by re-running: gh aw geo audit --url https://github.github.com/gh-aw/

Generated by 🌍 GEO Optimizer Daily Audit · 32.8 AIC · ⌖ 20.2 AIC · ⊞ 4.9K ·

  • expires on Jul 22, 2026, 8:57 AM UTC-08:00

Comments on the Issue (you are @copilot in this section)

@pelikhan pelikhan closed this Jul 15, 2026
Copilot stopped work on behalf of pelikhan due to an error July 15, 2026 17:09
Copilot AI requested a review from pelikhan July 15, 2026 17:09
@github-actions
github-actions Bot deleted the copilot/geo-optimizer-add-robots-txt branch July 25, 2026 02:59
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.

[geo-optimizer] Add robots.txt to docs site to allow AI crawler indexing

2 participants