Next.js Discord

Discord Forum

How to customize Payload CMS 404 (Not Found) page?

Unanswered
Aidi posted this in #help-forum
Open in Discord
AidiOP
Hey everyone

I’m using Payload CMS with the @payloadcms/next integration (Next.js app directory), and I’m trying to customize the 404 Not Found page.

I found that not-found.tsx is auto-generated .

My question:
Is there a way to fully override this 404 page with a custom component?
I’d like to use my own layout, SCSS styles
Where is the recommended place to override this page cleanly?

1 Reply

AidiOP
!close