fix(seo): unblock /mcp in robots to clear "indexed though blocked"#34
Merged
Conversation
|
✅ CI - Verify PASSED Commit:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Google Search Console reports "Indexed, though blocked by robots.txt" for agentage.io. Blocking a path in
robots.txtis what causes that warning: Google can't crawl the URL, so it can't see the 404/noindexthat would drop it, and keeps the bare URL indexed.robots.tsdisallowed/mcpto "keep it out of the index until the catalog has real content" - but that backfires two ways:/mcpcurrently 404s on landing. Left crawlable, Google fetches it, gets 404, and drops it - exactly the intended outcome, without the warning.agentage.io/mcp, a standingDisallowwould strand its SEO until robots.txt is changed.Change
Remove
/mcpfrom the disallow list. Keep/api/and/dashboard/blocked (crawl-budget paths we never want fetched).AI-bot allowlist + sitemap reference unchanged.
Verify
e2e-gateruns the built image and asserts/robots.txt.curl -s https://agentage.io/robots.txtshould no longer listDisallow: /mcp, then hit Validate Fix in Search Console for the "Indexed, though blocked" issue. It clears over the next crawl cycles.Scope note
Any GSC-flagged URLs under
/apior/dashboardstay blocked by choice, so those specific "indexed though blocked" entries won't clear - acceptable since we never want them indexed anyway (they cause only a cosmetic snippet-less listing).