From 28f17897b48f7ec06958eda30cbceafaec907002 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Mon, 24 Mar 2014 21:43:30 +0100 Subject: [PATCH] [ticket/11336] Adds 301 info to redirect PHPBB3-11336 --- phpBB/memberlist.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 8fdb7f0a07..df47fd2f4b 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -32,7 +32,8 @@ $topic_id = request_var('t', 0); // Redirect when old mode is used if ($mode == 'leaders') { - redirect(append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=team')); + send_status_line(301, 'Moved Permanently'); + redirect(append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=team')); } // Check our mode...