Skip to content

Move the pricing page to /pricing - #46

Merged
fylorn merged 1 commit into
mainfrom
feat/pricing-url
Oct 1, 2026
Merged

fylorn merged 1 commit into
mainfrom
feat/pricing-url

Conversation

@fylorn

@fylorn fylorn commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Since #45 the page is called Pricing, so its address follows: /pricing and /zh-CN/pricing.

  • Old addresses: /license and /zh-CN/license are built as redirect pages with Astro's redirects config, since GitHub Pages cannot answer with a redirect. Each page sends the browser on, is marked noindex and has a canonical link to the new address. The sitemap lists only the new addresses.
  • Links: every link on the site now points at the new address: header, footer, the comparison on the home page, the Enterprise page and the Enterprise docs overview. A code search found no other repository linking to the old one.
  • Renames: LicensePage → PricingPage, src/i18n/pages/license.ts → pricing.ts, nav.license → nav.pricing. An unused duplicate nav.pricing key left from the old one-page site is removed, which the build had flagged.

Checked: no href="/license" left in the build. In headless Chromium, /license/ lands on /pricing/ and /zh-CN/license/ on /zh-CN/pricing/, with the right title and heading. tsc --noEmit is clean.

🤖 Generated with Claude Code

The page is called Pricing now, so its address follows: /pricing and
/zh-CN/pricing. The old addresses are built as redirect pages (Astro's
redirects; GitHub Pages cannot answer with a redirect), marked noindex
with a canonical link to the new page, and the sitemap lists only the
new ones. Every link on the site points at the new address; no other
repository links to the old one.

The page, its component and its copy are renamed to match (PricingPage,
src/i18n/pages/pricing.ts, nav.pricing), and an unused duplicate
nav.pricing key from the old one-page site is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 54068c7 into main Oct 1, 2026
1 check passed
@fylorn
fylorn deleted the feat/pricing-url branch October 1, 2026 05:24
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.

1 participant