summaryrefslogtreecommitdiff
path: root/redirect.php
diff options
context:
space:
mode:
Diffstat (limited to 'redirect.php')
-rw-r--r--redirect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/redirect.php b/redirect.php
index c0a16021..eb15c6b9 100644
--- a/redirect.php
+++ b/redirect.php
@@ -18,4 +18,4 @@ $page = $wgRequest->getVal( 'wpDropdown' );
$url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
-header( "Location: {$url}" );
+header( "Location: {$url}", true, 301 );