Skip to content

Commit 0b97a3a

Browse files
authored
fix: netlify.toml — fix accessing /blog/* redirecting to /error (#215)
fix: `netlify.toml` — fix accessing /blog/* redirecting to /error Need more research based on the https://docs.netlify.com/routing/redirects/ I can't seems to find the solution.
2 parents 0240c2a + acdd4ba commit 0b97a3a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

netlify.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
# Learn more about this
22
# https://www.netlify.com/docs/netlify-toml-reference/
33

4-
[[redirects]]
5-
from = "/blog/*"
6-
to = "/error"
7-
status = 404
8-
9-
[[redirects]]
10-
from = "/blog/*/*"
11-
to = "/error"
12-
status = 404
13-
144
[[redirects]]
155
from = "/blog/*"
166
to = "/articles/blog/:splat"

0 commit comments

Comments
 (0)