diff --git a/core/Url.php b/core/Url.php
index daf6c73c95b6b712b958aaf2c22d5a2ff6696274..297932416cbfeb5e33c7d0016342b64d22597b54 100644
--- a/core/Url.php
+++ b/core/Url.php
@@ -471,6 +471,7 @@ class Url
         if (UrlHelper::isLookLikeUrl($url)
             || strpos($url, 'index.php') === 0
         ) {
+            Common::sendResponseCode(302);
             Common::sendHeader("Location: $url");
         } else {
             echo "Invalid URL to redirect to.";