Skip to content

Add redirects for pages returning 404 - #3181

Merged
ElliotFriend merged 1 commit into
mainfrom
autopilot/9454ca87
Nov 24, 2026
Merged

ElliotFriend merged 1 commit into
mainfrom
autopilot/9454ca87

Conversation

@mintlify

@mintlify mintlify Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #3140: redirects old URLs that still return 404, mostly Anchor Platform SEP guides and RPC methods plus SDP API pages. Hits are human-only since 2026-10-22, excluding bots and one crawler (see below). Every pattern was checked against the old file trees and resolves to existing pages.

Source Destination Hits / visitors Evidence
/docs/platforms/anchor-platform/admin-guide/{sep1,sep6,sep10,sep24,sep31}/:slug* (5) /docs/platforms/anchor-platform/sep-guide/<sep>/:slug* ~35 / ~30 (mostly versioned URLs, see note) Moved in bf93f22. Same as the existing /platforms/anchor-platform/admin-guide/sepN/:slug* entries, but with the /docs prefix. All 17 old pages (sepN + subpages) exist under sep-guide/
/docs/platforms/anchor-platform/api-reference/rpc/:slug* …/anchor-platform/api-reference/platform/rpc/:slug* 14 / 14 The old nginx /network/anchor-platform/rpc rule sent readers here. Same as the existing /network/anchor-platform/rpc/:slug* entry. All 26 old methods plus overview exist
/docs/platforms/stellar-disbursement-platform/api-reference/resources/:slug* + 2 exact entries above it (update-a-receiver, auth) …/stellar-disbursement-platform/api-reference/:slug* (update-receiver, authentication) 18 / 18 Old resources/ folder removed in #872. 57 of the 60 old pages exist at the flat path; the 2 exact entries cover renamed pages
/docs/data/apis/horizon/api-reference/resources/operations/object/payment …/horizon/api-reference/resources/payments/object 18 / 17 api-reference/ variant of the entry added in #3140
/docs/data/apis/horizon/resources/offers/list /docs/data/apis/horizon/api-reference/get-all-offers 15 / 4 Pre-2023 endpoint URL. The resources/:slug* wildcard sends it to a missing page. Placed above that wildcard

Verified examples on the preview:

  • /docs/platforms/anchor-platform/admin-guide/sep10 -> /docs/platforms/anchor-platform/sep-guide/sep10
  • /docs/platforms/anchor-platform/admin-guide/sep24/configuration -> /docs/platforms/anchor-platform/sep-guide/sep24/configuration
  • /docs/platforms/anchor-platform/api-reference/rpc/methods/notify_transaction_expired -> …/api-reference/platform/rpc/methods/notify_transaction_expired
  • /docs/platforms/anchor-platform/api-reference/rpc/overview -> …/api-reference/platform/rpc/overview
  • /docs/platforms/stellar-disbursement-platform/api-reference/resources/payments -> …/api-reference/payments
  • /docs/platforms/stellar-disbursement-platform/api-reference/resources/get-profile -> …/api-reference/get-profile
  • /api/resources/offers/list -> /docs/data/apis/horizon/api-reference/get-all-offers

Note: versioned URLs such as /docs/platforms/anchor-platform/3.0/admin-guide/sep1 still 404. They depend on the /docs/platforms/anchor-platform/<version>/:slug* rules from #3140, which don't fire on production. That issue is tracked separately.

Left alone:

  • About 35 other pre-2023 Horizon endpoint URLs (resources/<resource>/{single,list,post,...}, e.g. transactions/post). Almost all of their ~600 hits came from one crawler: a single Windows Chrome/146 user agent on rotating IPs, 2026-11-05 to 11-10. Each one maps cleanly to an endpoint page (for example transactions/post -> submit-a-transaction), so I can add them as exact entries if you want them.
  • SDP resources/get-all-countries: the page was removed, so it still 404s.
  • Anchor Platform custody pages (admin-guide/custody-services, api-reference/custody/*): removed and not replaced.
  • Unclear destinations, mostly guessed URLs: /docs/build/gui (8), /docs/learn/fundamentals/contract-development/high-level-overview (14, 3 visitors), /docs/build/smart-contracts/fees (6), /docs/build/guides/testing/test-snapshots (5).
  • Paths Add redirects for pages returning 404 #3140 skipped on purpose (ai-bot, /docs/tools/ai, dapps challenges, error-handling, /nonexisting-page-g): traffic has not grown.

@mintlify

mintlify Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 22, 2026, 9:15 AM

@stellar-doxie

stellar-doxie Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

I saw this PR. Nobody has asked me to review it, so I will not review, change or label it.

How to reach me:

  • Anyone with write permission can call me in with a /triage comment or the bot:take label.
  • The PR author can send me away with /triage stop. People with write permission can also use the bot:hands-off label.
  • A review request to a maintainer does not call me in. It asks for their judgment.

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Every new entry works on the preview. The versioned examples (3.0/admin-guide/sep1, 2.8/admin-guide/sep24/configuration, /platforms/anchor-platform/2.9/admin-guide/sep10) still 404. The /docs/platforms/anchor-platform/<version>/:slug* rules from #3140 don't fire on production, even for a single hop (2.8/sep-guide/sep1). I'll track that separately.

@ElliotFriend
ElliotFriend merged commit cb286c8 into main Nov 24, 2026
8 checks passed
@ElliotFriend
ElliotFriend deleted the autopilot/9454ca87 branch November 24, 2026 18:57

This branch was successfully deployed

1 active deployment
staging — 505725d7 Deployed Nov 22, 2026 by mintlify[bot]
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