silverwolf-x/project / errors /custom-error-no-custom-404.mdx
silverwolf-x's picture
download
raw
582 Bytes
---
title: 'Custom `_error` without /404'
---
## Why This Error Occurred
You added a custom `/_error` page without adding a custom `/404` page. Adding a custom `/_error` typically opts your application out of having the automatic static optimization applied to the 404 page.
## Possible Ways to Fix It
Add a `pages/404.js` with the 404 page you would like to show.
## Useful Links
- [Automatic Static Optimization](/docs/pages/building-your-application/rendering/automatic-static-optimization)
- [404 Page](/docs/pages/building-your-application/routing/custom-error#404-page)

Xet Storage Details

Size:
582 Bytes
·
Xet hash:
77ba9cad4d53faf29810f6ff105bfa05e63d52752f2e0a8199ee49e45462f8a6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.