Replies: 1 comment 2 replies
-
Moved this into discussions, not sure how you bypassed the issue template. Yes this is possible using Next.js, you'd basically just create a catch-all page However in general I would recommend using a url structure that that allows for better splitting of pages. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say my app has
team
entity,post
entity andcategory
Possible routes
https://team1.app.com/post1
https://team2.app.com/post2
but also
https://app.com/cateogory1/post3
wherepost3
is public in my app so can be accessed without the team.I understand subdomain parsing is not part of next.js core for security reasons, but in example above first segment after
app.com
can mean either post or category, depending on if subdomain is used or not.Is it possible to handle such case in next?
Beta Was this translation helpful? Give feedback.
All reactions