summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-17 12:25:35 +0200
committerDanilo M. <danix@danix.xyz>2026-04-17 12:25:35 +0200
commit91a6bb6ff7e1ec7ed6ee816e55dc40cc04d9a4a0 (patch)
treeca2f0d8b8f237e0aea05e30674e9b3b904b0662b
parentfe7c7a4841a58dec4b4957e9c9a32aec5adcade6 (diff)
downloaddanixxyz-91a6bb6ff7e1ec7ed6ee816e55dc40cc04d9a4a0.tar.gz
danixxyz-91a6bb6ff7e1ec7ed6ee816e55dc40cc04d9a4a0.zip
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 <noreply@anthropic.com>
-rw-r--r--hugo.toml4
1 files changed, 2 insertions, 2 deletions
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