X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=redirect.php;h=fde960e015fa21080e8e719c97d633596818f10e;hb=5a6e1ce93581cf7d3353b284632b17e3cca211de;hp=ad3400ef9baafc2c693045e6bd33a7db3cf7e1bb;hpb=a15c419b3d130248f2556b9d00643ba9666a4189;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index ad3400ef9b..fde960e015 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 );