Just want to confirm I’m current on the state of the art in hugo on this issue. If I have:
defaultContentLanguageInSubdir = true
and default language is set to some language code say “en” and I have one 404 layout:
layouts/404.html
Can I have //404/ for each lang code in set of lang codes defined for the project with a fallback to the default lang 404 page? So if (by example):
Assume project lang codes = [“en”, “es”]
/en/thispagedoesnotexist -> /en/404.html
/es/thisonedoesexisteithr -> /es/404.html
/fr/nopedoesnotexisteither -> /en/404.html
/thisonedefinitelydoesntexisteither -> /en/404.html
As it is right now I’m actually having trouble even doing any 404 page. Please help! Ty
UPDATE: I just noticed that in hugo v0.73.0 you can do redirect and header settings in the config file. Could this solve the issue?