X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=redirect.php;h=eb15c6b96eb6e3fa07d9666d3f8666f3c1b574c2;hb=5626cc207068991a6fe18a67e17cc497da69d123;hp=92a8890932799f76bd00f28387cb2b4b5f829dd2;hpb=572b08b5657d449651b682be272518399703ef50;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 92a8890932..eb15c6b96e 100644 --- a/redirect.php +++ b/redirect.php @@ -1,19 +1,21 @@ getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); -header( "Location: {$url}" ); -?> +header( "Location: {$url}", true, 301 );