Skip to main content

Custom 404 Page

Set a custom title and description for 404 pages:

{
"errors": {
"not_found": {
"title": "Page Not Found",
"description": "The page you're looking for doesn't exist."
}
}
}

Automatic Redirects

Automatically redirect to the closest matching page:

{
"errors": {
"not_found": {
"redirect": true
}
}
}

Automatic redirects can be confusing for users. Use custom 404 pages for better UX.

Complete Example

{
"errors": {
"not_found": {
"title": "Oops! Page Not Found",
"description": "The page you're looking for doesn't exist. Try searching or return to the homepage."
}
}
}

Custom 404 pages still show your navigation, so users can easily find their way back.