X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=redirect.php;h=fde960e015fa21080e8e719c97d633596818f10e;hb=4bbb51b32627dc68d37318c4430350d176eaac48;hp=699926ec30c39d332d401d150b7a211f6ee44230;hpb=ce9c8bf6868ccf80002be484803022ebcc3f4d68;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 699926ec30..fde960e015 100644 --- a/redirect.php +++ b/redirect.php @@ -1,17 +1,36 @@ getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); -header( "Location: {$url}" ); +header( "Location: {$url}", true, 301 );