DEV Community

Gündoğdu Yakıcı
Gündoğdu Yakıcı

Posted on

Should I add a not-found.jsx file for each page?

Hello,

I have a not-found.jsx file under the App folder, and on some pages I redirect to the notFound() function for some situations and I see the design. However, no link works. It does not redirect.

But if I add not-found.jsx in this page folder, it works fine. Do I have to add not-found.jsx to each page individually?

My Next.js version is 13.2.3.

Top comments (0)