Skip to content

Commit 1161b0f

Browse files
committed
Fix Netlify forced redirects.
1 parent ca3bdf5 commit 1161b0f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

netlify.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ command = "hugo --gc --minify -v"
66
[[redirects]]
77
from = "/home/"
88
to = "/"
9+
force = true
910

1011
[[redirects]]
1112
from = "/index.html"
1213
to = "/"
14+
force = true
1315

1416
[[redirects]]
1517
from = "/:category/index.html"
@@ -25,28 +27,34 @@ force = true
2527
from = "/api/"
2628
to = "/"
2729
status = 302
30+
force = true
2831

2932
[[redirects]]
3033
from = "/groups/"
3134
to = "/"
3235
status = 302
36+
force = true
3337

3438
[[redirects]]
3539
from = "/overview/"
3640
to = "/"
3741
status = 302
42+
force = true
3843

3944
[[redirects]]
4045
from = "/tags/"
4146
to = "/"
4247
status = 302
48+
force = true
4349

4450
[[redirects]]
4551
from = "/troubleshooting/"
4652
to = "/"
4753
status = 302
54+
force = true
4855

4956
[[redirects]]
5057
from = "/tutorials/"
5158
to = "/"
5259
status = 302
60+
force = true

0 commit comments

Comments
 (0)