Skip to content

How to create multiple dynamic routes at root #11908

Answered by emilforsmann
CaptainT33mo asked this question in Help
Discussion options

You must be logged in to vote

To my knowledge that's not possible.
How should nextjs know which dynamic value you're parsing belongs to what.
what you can do is put them in folders:

  • pages/u/[username]
  • pages/j/[jobCategory]/[jobTitle]
  • pages/g/[groupName]/[postId]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CaptainT33mo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants