How to do proper 404 on each dynamic route? #12308
Unanswered
peculiarity
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have
/path/[placeholder1]/[placeholder2]
I want to have redirect of the user lands on
/path
->/path/value1/value2
- This is something I've managed to do by puttingindex.tsx
under/path
folder and did manual redirect usingRouter.push
What I have noticed is that for the given paths:
/path/
/path/value1
/path/value1/
I keep receiving
404
I would like for all those scenarios the redirect to be
/path/value1/value2
.How should I do that?
Beta Was this translation helpful? Give feedback.
All reactions