Skip to content

Keep canonical metadata in the document head - #1287

Open
jinhojang6 wants to merge 3 commits into
developfrom
canonical-cleanup
Open

Keep canonical metadata in the document head#1287
jinhojang6 wants to merge 3 commits into
developfrom
canonical-cleanup

Conversation

@jinhojang6

@jinhojang6 jinhojang6 commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Refs #1262

What changed

Next.js can stream metadata into <body> for some bots. Search Console then missed the canonical URL on some pages.

This PR disables metadata streaming for all bots, so canonical and other SEO tags stay inside <head>.

Related docs:

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
status-api Ready Ready Preview, Comment Jul 28, 2026 5:35pm
status-network-hub Ready Ready Preview, Comment Jul 28, 2026 5:35pm
status-portfolio Ready Ready Preview, Comment Jul 28, 2026 5:35pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
community-dapp Ignored Ignored Preview Jul 28, 2026 5:35pm
status-components Ignored Ignored Preview Jul 28, 2026 5:35pm
status-get-status-app Ignored Ignored Preview Jul 28, 2026 5:35pm
status-network-website Ignored Ignored Preview Jul 28, 2026 5:35pm
status-website Ignored Ignored Preview Jul 28, 2026 5:35pm

Request Review

@changeset-bot

changeset-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: aa42fcf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
status.app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jinhojang6 jinhojang6 self-assigned this Jul 28, 2026
@jinhojang6
jinhojang6 marked this pull request as ready for review July 28, 2026 17:32
Copilot AI review requested due to automatic review settings July 28, 2026 17:32

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 updates the status.app Next.js configuration to prevent metadata (notably rel="canonical") from being streamed into the <body> for bot user agents, keeping canonical and other SEO-critical tags consistently in the document <head> to address Search Console canonical detection issues (refs #1262).

Changes:

  • Configure Next.js htmlLimitedBots to disable streaming metadata behavior for bot requests.
  • Add a changeset to ship the status.app patch release.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
apps/status.app/next.config.mjs Adds htmlLimitedBots config to keep SEO metadata (e.g., canonical) in <head> for bots.
.changeset/calm-bots-listen.md Declares a patch changeset for status.app describing the SEO metadata behavior change.

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

@status-im-auto

status-im-auto commented Jul 28, 2026

Copy link
Copy Markdown
Member

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ aa42fcf 3 2026-07-28 17:50:53 ~18 min connector 📦zip
✔️ aa42fcf 3 2026-07-28 17:51:41 ~19 min wallet 📦zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants