chore: add Bing verification token for the docs.truecalc.app site - #58
Merged
Conversation
Bing Webmaster Tools scopes a site by URL prefix, not by domain the way a Google Search Console domain property does — https://truecalc.app/ and https://docs.truecalc.app/ are separate sites needing separate tokens. Appends the token for the docs.truecalc.app entry rather than replacing the existing one; <users> accepts multiple <user> children, so the previously verified property stays verified. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Summary
Adds the Bing Webmaster Tools verification token for the
https://docs.truecalc.app/siteentry, so
BingSiteAuth.xmlverifies it.Why a second token
Bing scopes a site by URL prefix, not by domain the way a Google Search Console domain
property does.
https://truecalc.app/andhttps://docs.truecalc.app/are two separate sitesin Bing and each needs its own token — unlike GSC, where the
truecalc.appdomain propertyalready covers every subdomain.
The existing token was issued for a different site entry, so Bing could not verify
docs.truecalc.appwith it.Why append rather than replace
<users>accepts multiple<user>children. Appending keeps the previously verified propertyverified; replacing would have broken it.
How to test
After deploy:
Then in Bing Webmaster Tools, add
https://docs.truecalc.app/and click Verify — it reads thisfile at the site root. XML was validated well-formed locally.
Follow-ups (not in this PR)
https://docs.truecalc.app/sitemap.xmlunder the new Bing siteINDEXNOW_KEYsecret to the key already live at/3e251d07d17245c16ae611b1990a681a.txt, then do a one-time--allseeding run (the defaultdelta mode currently finds 0 changed URLs)
https://truecalc.app/Bing entry points at a host with no DNS records and can only everreport errors — worth removing unless a site is planned for the apex
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.