Next.js Discord

Discord Forum

Not-found page being avoided

Hilsa shad posted this in #help-forum
Open in Discord
Hilsa shadOP
When using localhost the app/not-found.tsx file works perfect when I try to go into a non existent route. But when I deployed to Vercel it uses the default Vercel 404 page. I've seen that many people have the same problem, but I haven't read one proper solution to this. I'm using NextJS 13.5.5 and the App Routes approach.

1 Reply

Hilsa shadOP
These are my project folders. I just want the global not-found.tsx to work.