X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=redirect.php;h=eb15c6b96eb6e3fa07d9666d3f8666f3c1b574c2;hb=3bbfb9844a5fed74bf3bd9f8e7179460b1d01458;hp=626c30d3bccffdc211aabc0e9db93df03aa486c2;hpb=7176ccdf27fea2966183f77cdc1b949435360f28;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 626c30d3bc..eb15c6b96e 100644 --- a/redirect.php +++ b/redirect.php @@ -1,9 +1,21 @@ getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); -header( "Location: {$url}" ); +header( "Location: {$url}", true, 301 );