Complex routes with multiply variables #40202
-
|
👋 there! Guys, I have a question. I have project Python/SSR and I wanna rebuild it with next.js. So, this project have a realy complex URL's like example: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hey, I think you are looking for something like catch all routes. https://nextjs.org/docs/routing/dynamic-routes#catch-all-routes |
Beta Was this translation helpful? Give feedback.
-
|
Catch all routes might be the way to go with this one, but you can also use the pages folder structure to achieve this: It coule be easier to validate than using catch all routes, especially if you know most of the URL structure and it remains the same. |
Beta Was this translation helpful? Give feedback.
-
|
Actually, old question, but fixed completely with appDir in next 13 ^^ |
Beta Was this translation helpful? Give feedback.

Actually, old question, but fixed completely with appDir in next 13 ^^