feat(app): add homepage canonical link and og:type - #552
Open
claude[bot] wants to merge 1 commit into
Open
Conversation
The homepage head carried full OG/Twitter tags and JSON-LD but no rel="canonical" link and no og:type, so search and AI engines could not confirm the canonical root URL (query-string variants risk duplicate-URL dilution) or the Open Graph object type. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y5HaatshAzKUdXWYUbAC4a
|
|
|
🚅 Deployed to the docs.page-pr-552 environment in docs.page
|
15 tasks
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.
Requested via Slack thread
One of five PRs replacing #530, which bundled all five root-domain discovery fixes into a single change.
Summary
Before: the homepage head already carries the full set of Open Graph and Twitter card tags plus JSON-LD, but it has no canonical link and no Open Graph object type. A search or AI engine reading the page cannot confirm which URL is the canonical root — so query-string variants of the homepage risk being treated as separate, duplicate URLs — and the Open Graph object is incomplete.
After: the homepage head also emits a canonical link pointing at
https://docs.page/and an Open Graph type ofwebsite, alongside the tags that were already there. Nothing visible on the page changes; the difference shows up in the page source and in how crawlers read it.How: two lines added to the
Headblock inapp/src/components/homepage/index.tsx— arel="canonical"link and anog:typemeta tag. No other files touched, no cache-header or routing changes.Scope
app/(hosted site, MCP, Ask AI)packages/cli/packages/mdx-bundler/docs/(product documentation)Type of change
Test plan
biome ci .clean (the check CI runs)bun test— 140 pass, 0 failtsc --noEmitinapp/— cleanNotes for reviewers
main, so this merges independently of the other four PRs.🤖 Generated with Claude Code
https://claude.ai/code/session_01Y5HaatshAzKUdXWYUbAC4a
Generated by Claude Code