Skip to content

Use codeuctivity.cloud as site url and add robots.txt - #290

Merged
stesee merged 1 commit into
mainfrom
seo/custom-domain-url
Oct 17, 2026
Merged

stesee merged 1 commit into
mainfrom
seo/custom-domain-url

Conversation

@stesee

@stesee stesee commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Set url in docusaurus.config.ts to https://codeuctivity.cloud (the custom domain the site is actually served from). Previously sitemap.xml, rel=canonical and og:url all pointed to https://codeuctivity.github.io, so Google Search Console flags every sitemap entry for the codeuctivity.cloud property and indexes the github.io URLs instead.
  • Add static/robots.txt (currently 404) with Sitemap: https://codeuctivity.cloud/sitemap.xml.

Verification

Local npm run build:

  • build/sitemap.xml: all <loc> entries use https://codeuctivity.cloud/…, 0 github.io references
  • build/index.html: rel="canonical" href="https://codeuctivity.cloud/"
  • build/robots.txt is emitted

After merge: submit https://codeuctivity.cloud/sitemap.xml in Search Console.

🤖 Generated with Claude Code

The site is served from the custom domain https://codeuctivity.cloud, but
the configured url was codeuctivity.github.io, so sitemap.xml, canonical
and og:url all pointed to the github.io host. Search Console rejects such
sitemap entries for the codeuctivity.cloud property.

Also add robots.txt referencing the sitemap.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 17, 2026 19:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@stesee
stesee merged commit 2964033 into main Oct 17, 2026
1 check passed
@stesee
stesee deleted the seo/custom-domain-url branch October 17, 2026 20:01
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