diff --git a/site/404.html b/site/404.html
index 3adc017..6c355a3 100644
--- a/site/404.html
+++ b/site/404.html
@@ -6,7 +6,7 @@
var currentURL = window.location.href;
if (/crapaud-fou.gitlab.io\/portail/.test(currentURL)) {
newURL = currentURL.replace(/crapaud-fou.gitlab.io\/portail/g, "crapaud-fou.org");
- window.location = newURL;
+ window.location.replace(newURL);
}