seo: rewrite root / to /en instead of 308 redirect#210
Merged
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Semrush On-Page SEO Checker cannot crawl
docs.sharpapi.io/because it returns HTTP 308 to/en/.Fix: Move root
/fromredirects(permanent redirect) torewrites(transparent) in vercel.json. Crawlers now see the docs home page content at the root URL without being redirected.Fixes SHA-2251.