X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=redirect.php;h=5e6cfeed68bf3c7a3a14a7159019cfb1594b54d6;hb=d01ca095d46cd8bf6bba5eb27358569105386232;hp=8c370a3e70daed44a65e743eed023b6bc3021664;hpb=8de3b6872ffa3e30145382c6028311829cf07da4;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 8c370a3e70..5e6cfeed68 100644 --- a/redirect.php +++ b/redirect.php @@ -1,13 +1,36 @@ getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); -header( "Location: {$url}" ); -?> +header( "Location: {$url}", true, 301 );