Skip to content

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

Description

@forumevi

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions