From: Danilo M. Date: Fri, 17 Apr 2026 10:25:35 +0000 (+0200) Subject: fix: update 404 redirect rules to point to correct language pages X-Git-Tag: release_22042026-1342~124 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=91a6bb6ff7e1ec7ed6ee816e55dc40cc04d9a4a0;p=danix.xyz-2.git fix: update 404 redirect rules to point to correct language pages Changed redirects to route /it/** 404s to /it/404.html and /** 404s to /404.html instead of redirecting to home pages. Co-Authored-By: Claude Haiku 4.5 --- diff --git a/hugo.toml b/hugo.toml index efbf60b..364d0d3 100644 --- a/hugo.toml +++ b/hugo.toml @@ -127,10 +127,10 @@ enableRobotsTXT = true [[redirects]] from = '/it/**' - to = '/it/' + to = '/it/404.html' status = 404 [[redirects]] from = '/**' - to = '/' + to = '/404.html' status = 404