diff --git a/public/404.html b/public/404.html
index 963ac7e..002158f 100644
--- a/public/404.html
+++ b/public/404.html
@@ -23,7 +23,7 @@
// https://username.github.io/repo-name/one/two? a=b&c=d#qwe becomes
// https://username.github.io/repo-name/? p=/one/two&q=a=b~and~c=d#qwe
// Otherwise, leave segmentCount as 0.
- var segmentCount = 2;
+ var segmentCount = 1;
var l = window.location;
l.replace(