Describe the bug
The catch-all route in routes/index.jsx silently redirects
users to the homepage when they visit an undefined URL:
<Route path="*" element={<Navigate to="/" replace />} />
Users who follow a broken link or mistype a URL get bounced
to home with no explanation. They have no idea the page
doesn't exist.
Where is it happening
src/routes/index.jsx — catch-all route at the bottom
Expected behavior
A proper 404 page should display with a friendly message
and a link back to the homepage.
Suggested Fix
- Create a
NotFound.jsx page with a 404 message and home link
- Replace
<Navigate to="/" replace /> with <NotFound />
I would like to work on this issue under GSSoC.
Please assign this issue to me.
Thank you.
Describe the bug
The catch-all route in
routes/index.jsxsilently redirectsusers to the homepage when they visit an undefined URL:
Users who follow a broken link or mistype a URL get bounced
to home with no explanation. They have no idea the page
doesn't exist.
Where is it happening
src/routes/index.jsx— catch-all route at the bottomExpected behavior
A proper 404 page should display with a friendly message
and a link back to the homepage.
Suggested Fix
NotFound.jsxpage with a 404 message and home link<Navigate to="/" replace />with<NotFound />I would like to work on this issue under GSSoC.
Please assign this issue to me.
Thank you.