Default page instead of 404

I am wondering if I can redirect the user to a default page (eg. index.html) if the route that user provided does not exist. I don't want to show the user a 404 page.
3 Replies
Walshy
Walshy2y ago
Don't provide a 404.html
Walshy
Walshy2y ago
Serving Pages · Cloudflare Pages docs
Cloudflare Pages includes a number of defaults for serving your Pages sites. This page details some of those decisions, so you can understand how …
Bhone M Min
Bhone M MinOP2y ago
Oh sorry i thought it wouldn't work like that and didn't test it Thank you very much
Want results from more Discord servers?
Add your server