You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds redirects for URLs readers keep hitting that return 404 since the Mintlify launch, mostly old Horizon paths missing api-reference/. Visitor counts are since 2026-10-22, excluding bots and a single scraper (aocr.org referrer).
Source
Destination
Visitors
Evidence
/docs/data/apis/horizon/errors/:slug*
…/horizon/api-reference/errors/:slug*
~75
All error pages live under api-reference/errors/. Also fixes /api/errors/* chaining through /api/:slug*
/docs/data/apis/horizon/introduction/:slug*
…/horizon/api-reference/structure/:slug*
~30
streaming, rate-limiting, xdr, pagination and response-format all exist under structure/. Also fixes /api/introduction/*
/docs/data/apis/horizon/resources/:slug*
…/horizon/api-reference/resources/:slug*
~30
Resource category pages exist under api-reference/resources/
Left alone (unclear destination):/docs/tools/developer-tools/ai-bot and /docs/tools/ai (Stella removed in #2571), /docs/learn/interactive/dapps/challenges/* (removed), /docs/learn/encyclopedia/error-handling, and /nonexisting-page-g (a soft-404 probe).
Thanks, the wildcards check out on the preview. Two additions, please. #3141 just merged and removed the .html redirects, so expect a conflict in config/redirects.json.
Exact redirects for five old /api/ URLs that still 404. Put them above your section wildcards, which also match these paths.
One rule per Anchor Platform version (2.8, 2.9, 2.10, 2.11, 3.0, 3.1, and next) that drops the version: /docs/platforms/anchor-platform/<version>/:slug* to /docs/platforms/anchor-platform/:slug*. About half of the old pages still exist at the same path. The rest were restructured and still 404, which is no worse than today.
How I checked
/api/ URLs: I followed 70 old /api/... URLs from this repo's history on production and on this preview. Production resolves 56, this PR resolves 65, and the five above are the rest.
Anchor Platform: I compared the ap_versioned_docs/ folders (removed in bf93f22) with the current pages. 36 to 39 of each version's ~82 pages match.
Thanks, the wildcards check out on the preview. Two additions, please. #3141 just merged and removed the .html redire…
@ElliotFriend I merged main and resolved the conflict, so the PR now only adds lines. Your three exact /api/ redirects are above the section wildcards, and the seven Anchor Platform version rules come after them. The link check passes with --check-redirects.
Your comment mentions five /api/ URLs, but the table only lists three. Can you send the other two?
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
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.
Adds redirects for URLs readers keep hitting that return 404 since the Mintlify launch, mostly old Horizon paths missing
api-reference/. Visitor counts are since 2026-10-22, excluding bots and a single scraper (aocr.orgreferrer)./docs/data/apis/horizon/errors/:slug*…/horizon/api-reference/errors/:slug*api-reference/errors/. Also fixes/api/errors/*chaining through/api/:slug*/docs/data/apis/horizon/introduction/:slug*…/horizon/api-reference/structure/:slug*structure/. Also fixes/api/introduction/*/docs/data/apis/horizon/resources/:slug*…/horizon/api-reference/resources/:slug*api-reference/resources//docs/data/apis/horizon/aggregations/:slug*…/horizon/api-reference/aggregations/:slug*api-reference/aggregations//api/targets (payment object, fee stats, async submission errors)/api/URLs that the wildcards don't resolve. Placed above the wildcards/docs/platforms/anchor-platform/{2.8,2.9,2.10,2.11,3.0,3.1,next}/:slug*(7)/docs/platforms/anchor-platform/:slug*ap_versioned_docs/, bf93f22). About half the old pages exist at the same unversioned path/docs/data/apis/rpc/methods/:slug*/docs/data/apis/rpc/api-reference/methods/:slug*api-reference/segment/docs/data/apis/rpc/api-reference/pagination…/rpc/api-reference/structure/paginationstructure/segment/docs/learn/encyclopedia/network-configuration/{federation,inflation,ledger-headers,network-passphrases}(4)/docs/learn/encyclopedia/<page>redirects/docs/learn/fundamentals/contract-development/errors…/contract-development/errors-and-debugging/errorserrors-and-debugging/segment/docs/learn/glossary/liquidity-pool…/liquidity-on-stellar-sdex-liquidity-pools#liquidity-poolsliquidity-poolsredirect/docs/build/apps/connect-to-anchors/docs/build/apps/example-application-tutorial/anchor-integrationanchor-integrationin #185/docs/learn/fundamentals/list-of-operations/docs/learn/fundamentals/transactions/list-of-operations/docs/learn/smart-contract-internals/stellar-asset-contract/docs/tokens/stellar-asset-contractLeft alone (unclear destination):
/docs/tools/developer-tools/ai-botand/docs/tools/ai(Stella removed in #2571),/docs/learn/interactive/dapps/challenges/*(removed),/docs/learn/encyclopedia/error-handling, and/nonexisting-page-g(a soft-404 probe).