Next.js Discord

Discord Forum

Page router 404/500 custom page stopped working after adding App router base folder (/app)

Unanswered
Bighead carp posted this in #help-forum
Open in Discord
Bighead carpOP
Hi, I am slowly transitioning from page router to app router but once I added the /app folder with a layout/tsx and /api subfolder with a single file in it, the page router 404.js and 500.js stopped working and shows the default nextjs 404 and 500 page, is there any way to fix this before I fully transitioned to app router?

1 Reply