X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=redirect.php;h=eb15c6b96eb6e3fa07d9666d3f8666f3c1b574c2;hb=53d8fe33f7c4e81eb7660ef12437ef0203ab9592;hp=4718600d6ca9aa944f302ea2e6fdd18088ea66ce;hpb=3ea576aa259b9f990e18aa3c58c62036d80c3ce3;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index 4718600d6c..eb15c6b96e 100644 --- a/redirect.php +++ b/redirect.php @@ -1,14 +1,21 @@ getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); -header( "Location: {$url}" ); -?> +header( "Location: {$url}", true, 301 );