Skip to content

seo: rewrite root / to /en instead of 308 redirect#210

Merged
Mlaz-code merged 2 commits into
mainfrom
seo/fix-root-redirect
May 5, 2026
Merged

seo: rewrite root / to /en instead of 308 redirect#210
Mlaz-code merged 2 commits into
mainfrom
seo/fix-root-redirect

Conversation

@Mlaz-code
Copy link
Copy Markdown
Collaborator

Semrush On-Page SEO Checker cannot crawl docs.sharpapi.io/ because it returns HTTP 308 to /en/.

Fix: Move root / from redirects (permanent redirect) to rewrites (transparent) in vercel.json. Crawlers now see the docs home page content at the root URL without being redirected.

Fixes SHA-2251.

Mlaz-code and others added 2 commits April 24, 2026 22:53
Live game state (scores, period, clock) is exclusive to /api/v1/gamestate
and the gamestate stream channel. Remove the game_state row from sample
payloads + schema tables on the EV, arbitrage, and low-hold reference
pages, and add a breaking-change callout pointing readers at gamestate.

BREAKING CHANGE: clients that read game_state off opportunity rows must
fetch /api/v1/gamestate (or subscribe to /api/v1/stream/gamestate) and
join by event_id.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Semrush and other crawlers were getting HTTP 308 when hitting
docs.sharpapi.io/ which blocked indexing of the docs home page.
Change the root / from a permanent redirect to a transparent rewrite
so crawlers see the content at the canonical URL.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

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

Project Deployment Actions Updated (UTC)
docs.sharpapi.io Building Building Preview, Comment May 5, 2026 6:29pm

Request Review

@Mlaz-code Mlaz-code merged commit 273f4d7 into main May 5, 2026
1 of 2 checks passed
@Mlaz-code Mlaz-code deleted the seo/fix-root-redirect branch May 5, 2026 18:29
Mlaz-code added a commit that referenced this pull request May 7, 2026
* docs(api)!: drop game_state from EV/arb/low-hold reference

Live game state (scores, period, clock) is exclusive to /api/v1/gamestate
and the gamestate stream channel. Remove the game_state row from sample
payloads + schema tables on the EV, arbitrage, and low-hold reference
pages, and add a breaking-change callout pointing readers at gamestate.

BREAKING CHANGE: clients that read game_state off opportunity rows must
fetch /api/v1/gamestate (or subscribe to /api/v1/stream/gamestate) and
join by event_id.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* seo: rewrite root / to /en instead of 308 redirect

Semrush and other crawlers were getting HTTP 308 when hitting
docs.sharpapi.io/ which blocked indexing of the docs home page.
Change the root / from a permanent redirect to a transparent rewrite
so crawlers see the content at the canonical URL.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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