X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=redirect.php;h=5e6cfeed68bf3c7a3a14a7159019cfb1594b54d6;hb=966cda2f802cd6cf08d9b73f75fc4b0e7beab625;hp=626c30d3bccffdc211aabc0e9db93df03aa486c2;hpb=7176ccdf27fea2966183f77cdc1b949435360f28;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 626c30d3bc..5e6cfeed68 100644 --- a/redirect.php +++ b/redirect.php @@ -1,9 +1,36 @@ getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); -header( "Location: {$url}" ); +header( "Location: {$url}", true, 301 );