diff --git a/.ci/.autoRedirect b/.ci/.autoRedirect
index abd039e04c7ee61cdc7fb90fd80f1c982b4f16a4..7c6db07477b233fb6a80880459fcea2f8217d7e8 100644
--- a/.ci/.autoRedirect
+++ b/.ci/.autoRedirect
@@ -1,6 +1,28 @@
 <html>
   <head>
-    <meta http-equiv="Refresh" content="0; url=https://r3.pages.uni.lu/labCards/stable" />
+    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
+    <script type="text/javascript">
+    function UrlExists(url, cb){
+        jQuery.ajax({
+            url:      url,
+            dataType: 'text',
+            type:     'GET',
+            complete:  function(xhr){
+                if(typeof cb === 'function')
+                cb.apply(this, [xhr.status]);
+            }
+        });
+    }
+    UrlExists('https://r3-core.pages.uni.lu/labCards/index.html', function(status){
+        if(status === 200){
+            // internal pages
+            window.location.href = 'https://r3-core.pages.uni.lu/labCards/stable';
+        } else {
+            // external pages
+            window.location.href = 'https://r3.pages.uni.lu/labCards/stable';
+        }
+    });
+    </script>
   </head>
   <body>
     <p>