Repository navigation
Show AI crawlers a sitemap of CiteCue answer pages (1.6.0) - #23
Closed
henry-mosh wants to merge 1 commit into
Closed
henry-mosh wants to merge 1 commit into
henry-mosh wants to merge 1 commit into
Conversation
Answer pages that exist only at CiteCue have no link pointing at them and are in no sitemap. The plugin now answers /citecue-sitemap.xml from the delivery API and declares it in the robots.txt WordPress generates. Both go to matched AI crawlers only. The proxy serves those pages to nobody else, so a search engine given the list would collect 404s. The marker is X-Citecue: crawler-sitemap rather than the Worker's "sitemap", which CiteCue reads as permission to submit the sitemap to Search Console. Ships as 1.6.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
henry-mosh
marked this pull request as ready for review
December 2, 2026 20:18
Collaborator
Author
|
Closing without merging. Since 1.5.1, Publish puts a real page on the site by default, 🤖 Posted by Claude Code |
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.
Answer pages that exist only at CiteCue have no link pointing at them and are in no sitemap, so crawlers have little chance of finding them. The plugin now serves
/citecue-sitemap.xmland adds aSitemap:line for it to therobots.txtWordPress generates.Only matched AI crawlers see either one. The proxy serves these pages to nobody else, so Googlebot following the list would collect 404s.
X-Citecue: crawler-sitemap, not the Cloudflare Worker'ssitemap. CiteCue's install check asks as GPTBot and treatssitemapas safe to submit to Search Console, which isn't true here. Please don't "align" the two.robots.txtmakes no network call. The line can therefore point at a 404 while there is nothing to list.citecue_should_servefilter, and "Help AI and search engines find your answer pages" in CiteCue.robots.txtfile wins over the generated one, so the line doesn't appear there.Testing
phpcsclean.bin/local-rig.sh verifyon WordPress 7.1.5 with the stub API, including four new checks: GPTBot gets the XML and therobots.txtline; Googlebot gets a 404 and no line.Merge order
#20 (language versions, 1.4.0) edits some of the same files, so whichever merges second needs a small conflict fix in the version numbers and changelog.
🤖 Generated with Claude Code