diff --git a/404.html b/404.html
index 4318cba97..f20a55ec8 100644
--- a/404.html
+++ b/404.html
@@ -2,7 +2,7 @@
// Check if the current path is versioned, if not, redirect to the default versioned path
const versions = ["0.19.x", "latest"]
const defaultVersion = "latest"
- const basePath = "/gitlint"
+ const basePath = "/freqtrade/en"
const targetRedirectPath = "404" // path to redirect to, relative to basePath
// if path starts with version, redirect to versioned 404
@@ -21,6 +21,6 @@
// Replace it in href, so we keep hashes and query params
// Only replace first occurence of basePath
if (!foundVersion){
- window.location.href = window.location.href.replace(basePath, `${basePath}/en/${defaultVersion}`)
+ window.location.href = window.location.href.replace(basePath, `${basePath}/${defaultVersion}`)
}