aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 750ce878d..6aa178cec 100644
--- a/index.php
+++ b/index.php
@@ -13,7 +13,7 @@ $www_domain = 'www.' . $domain;
if (G_VHOST == $domain) {
// rewrite "//mageia.org/" to "//www.mageia.org/"
header ('HTTP/1.1 301 Moved Permanently');
- header(sprintf('Location: http://%s%s', $www_domain, $_SERVER['REQUEST_URI']));
+ header(sprintf('Location: //%s%s', $www_domain, $_SERVER['REQUEST_URI']));
die;
}
elseif (isset($_GET['fromtld'])) {