We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00c4b19 commit b93b03cCopy full SHA for b93b03c
404.html
@@ -1,12 +1,13 @@
1
<!doctype html>
2
<html>
3
<head>
4
- <meta http-equiv="refresh" content="0; url=/" />
5
<script type="text/javascript">
6
- window.location.href = "/";
+ if (window.location.pathname !== "/" && !window.location.pathname.includes(".")) {
+ window.location.replace("/");
7
+ }
8
</script>
9
</head>
10
<body>
- <p>If you are not redirected, <a href="/">click here</a>.</p>
11
+ <p>Page not found. <a href="/">Click here</a>.</p>
12
</body>
13
</html>
0 commit comments