This content originally appeared on DEV Community and was authored by Gündoğdu Yakıcı
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.
This content originally appeared on DEV Community and was authored by Gündoğdu Yakıcı
Gündoğdu Yakıcı | Sciencx (2023-03-31T12:46:13+00:00) Should I add a not-found.jsx file for each page?. Retrieved from https://www.scien.cx/2023/03/31/should-i-add-a-not-found-jsx-file-for-each-page/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.