We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle and create custom 404 page
The text was updated successfully, but these errors were encountered:
Hi @Jobians.
I would use routes to provide custom 404 page.
{ "functions": { "api/**/*.php": { "runtime": "[email protected]" } }, "routes": [ { "src": "/users/(.*)", "dest": "/api/users.php" }, { "src": "/orders/(.*)", "dest": "/api/orders.php" }, { "src": "/(.*)", "dest": "/api/error.php" } ] }
Sorry, something went wrong.
@f3l1x
I used this from vercel documentation but it not working
{ "functions": { "api/**/*.php": { "runtime": "[email protected]" } }, "routes": [ { "src": "/(.*)", "dest": "/api/$1" }, { "src": "/(.*)", "status": 404, "dest": "/api/404.php" } ]
Can you share where is this example?
@f3l1x https://vercel.com/guides/custom-404-page#what-if-i-need-to-name-my-404-file-something-different
No branches or pull requests
Question
How to handle and create custom 404 page
The text was updated successfully, but these errors were encountered: