diff --git a/.ci/.autoRedirect b/.ci/.autoRedirect
index 4e145579886f091e2665c8e3084619556e331933..6ee4103f26afcb967c94c82b104eaad76e3aee3e 100644
--- a/.ci/.autoRedirect
+++ b/.ci/.autoRedirect
@@ -41,7 +41,7 @@
                             if (status == 200) { // if sub-card is internal in the external directory and exists
                                 window.location.href = internalURL+'/stable/external/'+sub;
                             } else {
-                                window.location.href = internalURL+'/404.html';
+                                window.location.href = internalURL+'/stable/404.html';
                             }
                         });
                     }
@@ -51,7 +51,7 @@
                     if (status == 200) { // if card is internal and exists
                         window.location.href = internalURL+'/stable';
                     } else {
-                        window.location.href = internalURL+'/404.html';
+                        window.location.href = internalURL+'/stable/404.html';
                     }
                 });
             }
@@ -62,7 +62,7 @@
                 if (status == 200) { // if sub-car is internal and exists
                     window.location.href = externalURL+'/stable/'+sub;
                 } else {
-                    window.location.href = externalURL+'/404.html';
+                    window.location.href = externalURL+'/stable/404.html';
                 }
             });
         }