Next.js Discord

Discord Forum

Intercepting Routes not working

Cuvier’s Dwarf Caiman posted this in #help-forum
Open in Discord
Cuvier’s Dwarf CaimanOP
This is a very tricky thing to do correctly. I am also new to it.
in my app folder i have a /courses/[slug]/page.tsx endpoint and a /intro/@modal/(..)courses/[slug]/page.tsx endpoint. When I click on a link that sends me to /intro/courses/123, I do not get redirected to the modal page but to a 404 page.

0 Replies