We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c214fb6 commit 0ae4f0fCopy full SHA for 0ae4f0f
web/public/_redirects
@@ -1,3 +1,10 @@
1
/wiki /
2
/wiki/* /:splat
3
/Main_Page /
4
+
5
+# 1) Redirect trailing slash -> no slash
6
+/*/ /:splat 307
7
8
+# 2) Rewrite extensionless paths to their /index.html (so /reference/createBlip works)
9
+# This is a rewrite (status 200), not a redirect
10
+/* /:splat/index.html 200
0 commit comments