I'm trying to set a custom 404 page but is not working. What I tried:
- configuration - system - basic site settings and set node path on 404 page -> didn't work
- add page--404.html.twig to my custom theme -> didn't work
- in my custom-theme.theme added _theme_suggestions_page_alter function -> didn't work
Always show default 404 page, not my custom page. I clear cache on every attempt. Is there something I am missing?
Thanks in advance
Tried on local and cloud acquia server
It seems this website 404 error is handle by browser and not by drupal 8(?)
Another thing I notice is when I type a wrong URL appear on "log messages"
But on current website (the one I can't set custom 404) I don't have any error on "log messages".
Is there any code/config to enable/disable this?
Maybe this is same problem?