diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-17 12:25:35 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-17 12:25:35 +0200 |
| commit | 91a6bb6ff7e1ec7ed6ee816e55dc40cc04d9a4a0 (patch) | |
| tree | ca2f0d8b8f237e0aea05e30674e9b3b904b0662b | |
| parent | fe7c7a4841a58dec4b4957e9c9a32aec5adcade6 (diff) | |
| download | danixxyz-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.toml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
