Skip to content

Commit bd6b729

Browse files
authored
fix: redirect — improper not found page for /blog (#192)
fix: `redirect` — improper not found page for `/blog`
2 parents 66279a9 + a76bb88 commit bd6b729

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

netlify.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
to = "/articles/blog/:splat"
77
status = 200
88

9+
[[redirects]]
10+
from = "/blog/*"
11+
to = "/error"
12+
status = 404
13+
914
[[redirects]]
1015
from = "/*"
1116
to = "/error"

0 commit comments

Comments
 (0)