Skip to content

seo: emit trailing-slash canonical URLs#132

Merged
MarketDataApp merged 2 commits into
mainfrom
staging
Mar 2, 2026
Merged

seo: emit trailing-slash canonical URLs#132
MarketDataApp merged 2 commits into
mainfrom
staging

Conversation

@MarketDataApp

@MarketDataApp MarketDataApp commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • set trailingSlash=true in Docusaurus config
  • ensure canonical and og:url metadata emit trailing-slash URLs
  • align sitemap URLs with trailing-slash canonical form

Verification

  • built locally with PROD=true yarn build
  • verified staging pages now emit trailing-slash canonical URLs:
    • /docs/api/stocks/quotes/
    • /docs/account/plans/trader/
  • verified non-slash URLs still 308 to slash URLs on staging

…t sections

- Added support for PHP SDK documentation.
- Included account and billing documentation in the master docs generation process.
Set Docusaurus trailingSlash=true so canonical and sitemap URLs align with Cloudflare Pages slash routing and avoid canonical->redirect issues.
@MarketDataApp MarketDataApp merged commit 79a546f into main Mar 2, 2026
4 checks passed
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