Hello. I’m new to Netlify and am having troubles configuring the custom 404 redirect.
I have created a project and added my custom domain to it (Netlify dashboard tells me to check my DNS configuration because my original nameservers point to Cloudflare, however, my website is served by Netlify). It’s available here: https://www.bubblebreaker.ml/index.html
My problem is, I’ve created a
netlify.toml file in the root of my website folder (in the same directory as
sw.js, etc.). It has the following contents:
[[redirects]] from = "/*" to = "https://www.bubblebreaker.ml/index.html#Error404" status = 404
However, no matter what wrong URL I enter (even for example, https://www.bubblebreaker.ml/a), I get the default Netlify 404 page. My Deploys tab says that 1 redirect rule processed without errors. But, it doesn’t seem to work. Can someone please help me with this?