Skip to content

docs: use nearform.com as the docs site URL (fixes canonical loop) - #3171

Open
simonwilbert wants to merge 1 commit into
mainfrom
fix/nearform-canonical-url
Open

simonwilbert wants to merge 1 commit into
mainfrom
fix/nearform-canonical-url

Conversation

@simonwilbert

Copy link
Copy Markdown

What

Points the docs site at https://nearform.com instead of https://commerce.nearform.com in the Docusaurus config (url, plus the og:url, og:image and logo links where present).

Why

The docs are served at https://nearform.com/open-source/<project>/ through a rewrite on nearform.com. Docusaurus builds the canonical tag and sitemap.xml from url, so every page currently says its canonical is https://commerce.nearform.com/open-source/..., and that URL 308s straight back to nearform.com. Search engines get a canonical that redirects to the page that declared it, and they index neither. In Google Search Console this shows up as roughly 500 open-source doc pages that are not indexed.

groqd already uses url: "https://nearform.com/", and its pages are self-canonical.

After merge

Once this deploys, the canonical on the live pages should read https://nearform.com/open-source/<project>/..., and https://nearform.com/open-source/<project>/sitemap.xml should list nearform.com URLs. nearform/nearform-website#727 adds these sitemaps to robots.txt.

🤖 Generated with Claude Code

The canonical tags and sitemap pointed at commerce.nearform.com, which
redirects back to nearform.com, so search engines indexed neither.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 30f2dfd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
victory Ready Ready Preview Dec 4, 2026 5:31pm UTC

Request Review

@ryan-roemer ryan-roemer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You've got CI to fix first:

$ oxfmt --check
Checking formatting...

website/docusaurus.config.ts (0ms)

Format issues found in above 1 files. Run without `--check` to fix.
Finished in 1876ms on 762 files using 4 threads.
[ELIFECYCLE] Command failed with exit code 1.
Error: Process completed with exit code 1.

but after that approved! Thanks!

This branch was successfully deployed

1 active deployment
Preview — 30f2dfd2 Deployed Dec 4, 2026 by vercel[bot]
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