From de63eada6e1342018ccf4efb1e26e5bcc05f2ecc Mon Sep 17 00:00:00 2001 From: EmptyWork <22065214+EmptyWork@users.noreply.github.com> Date: Tue, 26 Sep 2023 21:51:44 +0900 Subject: [PATCH] =?UTF-8?q?change:=20`netlify.toml`=20=E2=80=94=20redirect?= =?UTF-8?q?=20`blog/*`=20not=20found?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netlify.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index e1cacf2..010b681 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,14 +3,19 @@ [[redirects]] from = "/blog/*" - to = "/articles/blog/:splat" - status = 200 + to = "/error" + status = 404 [[redirects]] - from = "/blog/*" + from = "/blog/*/*" to = "/error" status = 404 +[[redirects]] + from = "/blog/*" + to = "/articles/blog/:splat" + status = 200 + [[redirects]] from = "/*" to = "/error"