Skip to content

[Website] Improve SEO Pt. 2 - #9896

Merged
tobias-tengler merged 2 commits into
mainfrom
tte/seo-improvements-2
Jun 11, 2026
Merged

tobias-tengler merged 2 commits into
mainfrom
tte/seo-improvements-2

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 11, 2026 10:45

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.

Pull request overview

This PR continues the website SEO work by improving share-card image handling (Open Graph/Twitter + RSS), tightening canonical redirects, and ensuring key hub pages are represented in the sitemap.

Changes:

  • Add a dedicated share-card image variant to the image optimization pipeline and expose a helper to resolve the correct share image URL.
  • Improve sitemap generation by explicitly including top-level hub pages outside the (content) route group.
  • Refine nginx redirect behavior (relative Location headers behind upstream TLS, single-hop slash handling) and update various docs/blog links/structure.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
website-next/src/image-optimization/manifest.ts Adds shareSrc to the manifest shape and a helper to resolve share-card image URLs.
website-next/src/image-optimization/generate.mjs Extends the optimizer to generate/cache a dedicated share-card JPEG and prune it as needed.
website-next/scripts/optimize-images.mjs Configures share-card generation for featured blog images by scanning blog frontmatter.
website-next/nginx/conf.d/redirects.conf Updates redirect targets, makes key legacy rules tolerate trailing slashes, and moves slash-stripping to a final rule.
website-next/nginx/conf.d/default.conf Disables absolute redirects so Location headers don’t downgrade to http:// behind upstream TLS termination.
website-next/content/docs/hotchocolate/guides/testing.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/schema-evolution.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/public-api.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/private-api.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/performance.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/mcp-adapter.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/federation.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/error-handling.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/guides/dynamic-schemas.md Removes the guide (content relocation/restructure).
website-next/content/docs/hotchocolate/build/adapters/openapi.md Updates “Next Steps” links to the new MCP and Errors docs locations.
website-next/content/docs/hotchocolate/build/adapters/mcp.md Updates “Next Steps” link to the new Errors docs location.
website-next/content/blog/2026-05-11-hot-chocolate-16.md Updates doc links to the new build/adapters locations.
website-next/app/sitemap.ts Adds explicit sitemap entries for homepage and docs/blog hubs with accurate last-modified timestamps.
website-next/app/blog/rss.xml/route.ts Uses share-card images as RSS enclosures with a basic MIME type resolver.
website-next/app/blog/[...slug]/page.tsx Switches OG/Twitter images to the share-card variant when available.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website-next/app/blog/rss.xml/route.ts
Comment thread website-next/src/image-optimization/generate.mjs
Comment thread website-next/src/image-optimization/manifest.ts
@tobias-tengler
tobias-tengler merged commit 03ae4bd into main Jun 11, 2026
20 checks passed
@tobias-tengler
tobias-tengler deleted the tte/seo-improvements-2 branch June 11, 2026 10:55
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