Need Assistance?

support@tutorialshub.in

App Router & File-Based Routing

Nested Routes & Route Groups

ADVERTISEMENT
Next.js Free Lesson
5 min read
ADVERTISEMENT

Need deeper URLs like /blog/first-post or /dashboard/settings? Just nest folders inside one another! Each folder with a page.jsx gets its own URL.

Pro Tip — Route Groups: If you wrap a folder name in parentheses like (marketing) or (auth), Next.js lets you organize files cleanly without adding that folder name to the URL. So app/(auth)/login/page.jsx still lives at /login.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you