Dynamic routing not working as intended
Answered
Brown bear posted this in #help-forum
Brown bearOP
in my code when i try to navigate to reply page with the message._id it just throw me a 404 error.
4 Replies
Asian black bear
[id] must be a folder with a page.tsx inside of it.Answer
@Asian black bear `[id]` must be a folder with a `page.tsx` inside of it.
Brown bearOP
yeah thx. now it works
@James4u https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes#example
Brown bearOP
thx for the info.