@hrishikesh Ok I see the confusion. I just saw that ābeautiful-websiteā really exists, itās not my site it was just an example, sorry.
Here is what I did.
netlify.toml
[[redirects]]
from = "/*"
to = "/404/"
status = 404
_redirects
/en/* /en/404.html 404
/fr/* /fr/404.html 404
layouts/404.md
{{- define "main" -}}
Lorem ipsum
{{- end -}}
I can see my 404 page locally and on netifly (https://ā¦netlify.app/en/404.html) by calling directly the page name but not if I simulate a 404 error by writing a bad url
Hi @Oli78 , any chance you can share the Netlify site name? That will help us troubleshoot faster .
You can private message (PM) that to one of our support staff. Note, that only one person can see the PM and this will likely mean a slower reply than posting the information publicly. Please feel free to reply to however you prefer though.
[[redirects]]
from = "/*"
to = "/en/404.html"
status = 404
[[redirects]]
from = "/en/*"
to = "/en/404.html"
status = 404
[[redirects]]
from = "/fr/*"
to = "/fr/404.html"
status = 404
layouts/page/404.html
{{ define "main" }}
<p>404: Beautiful content</p>
{{ end }}