CF Pages: A non-existent address always opens the main page

I noticed this behavior: → works properly (load index.html) → works properly → load the main page (index.html)
Is this the correct behavior? Shouldn’t the “Not Found” error appear?

You need to add a 404.html to your project for it to be able to render a “Not Found” page - otherwise it acts in “SPA mode” and takes you to the index page.


Thank you very much!
I don’t know what happened that I didn’t find this information, although I was looking :wink:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.