Skip to content

fix(marketing): redirect self-hosting guide to canonical docs - #1255

Merged
backnotprop merged 1 commit into
mainfrom
seo/self-hosting-docs-redirect
Aug 10, 2026
Merged

fix(marketing): redirect self-hosting guide to canonical docs#1255
backnotprop merged 1 commit into
mainfrom
seo/self-hosting-docs-redirect

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

Summary

  • redirect the legacy /docs/guides/self-hosting route directly to https://docs.plannotator.ai/open-source/self-hosting
  • keep the existing 301 response, cache policy, and trailing-slash normalization
  • add a focused test for the exact target and trailing-slash variant

The destination shipped in plannotator/docs PR #34 and now returns HTTP 200. This change does not modify the marketing hero, static pages, assets, metadata, or any other redirect.

Verification

  • bun test apps/marketing/cloudfront/url-rewrite.test.ts: 6 pass, 0 fail
  • node --check apps/marketing/cloudfront/url-rewrite.js: passed
  • bun run build:marketing: passed, 40 pages built
  • git diff --check: passed
  • CloudFront Function source: 4,414 bytes, below the tested 10,000-byte limit
  • https://docs.plannotator.ai/open-source/self-hosting: HTTP 200 with the expected self-hosting title and canonical URL

The currently deployed legacy route still returns the old sharing-anchor target. After this PR is reviewed, merged, and deployed, the CloudFront Function will return the new canonical Docs URL in the same single 301 hop.

@backnotprop
backnotprop merged commit 62ffbd4 into main Aug 10, 2026
16 checks passed
@backnotprop
backnotprop deleted the seo/self-hosting-docs-redirect branch August 10, 2026 19:06
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