404 page where or how. Nextjs 14
Answered
Pectoral Sandpiper posted this in #help-forum
Pectoral SandpiperOP
I would like to a add a 404 page to my app. I have place a 404.tsx in several folders but I am not getting the not found page. So, I would assume there is something wrong or I am missing something. Can you someone guide me on folder structure or config to make a generic 404 page work?
2 Replies
if in app dir, its not-found.tsx
Answer
@riský if in app dir, its not-found.tsx
Pectoral SandpiperOP
Thank you, yeap that worked