Broken redirect: /wallet-app/:slug* catch-all leads to 404

Open Beginner friendly
#1,993 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
92/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript
Domain
documentation

Research direction

Start in docs/docs.json and inspect the /wallet-app/:slug* entry alongside the other wallet-app redirects. Update the catch-all behavior so an unknown wallet-app URL reaches a valid documentation page, then verify /wallet-app/example-page no longer returns a 404.

Written by the indexing model from the issue text.

Description

Description

In docs/docs.json, the redirect

{
  "source": "/wallet-app/:slug*",
  "destination": "/base-app/:slug*"
}

forwards to /base-app/*, but there is no catch-all redirect for
/base-app/* — only specific pages under /base-app/ are defined
in the redirects table. As a result, any URL matching
/wallet-app/<unknown> lands on a 404.

Steps to reproduce
  1. Open https://docs.base.org/wallet-app/example-page
  2. Observe a 404 "Page Not Found" response.
Expected behavior

The URL should redirect to a valid page. Every other /wallet-app/*
rule in docs.json points to /build-on-base/overview, so the
catch-all should do the same.

Suggested fix

Change the destination:

{
  "source": "/wallet-app/:slug*",
  "destination": "/build-on-base/overview"
}

Alternatively, add a /base-app/:slug* catch-all redirect.

Dominant language
JavaScript
Stars
337
Forks
798
Avg merge
7h 24m
Merged PRs (30d)
51

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from base/docs

All issues in base/docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.