aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 6d6bd35f3f..98d5eaf32b 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -607,6 +607,7 @@ class session
// otherwise they'll index this page with the SID, duplicate content oh my!
if ($bot && isset($_GET['sid']))
{
+ send_status_line(301, 'Moved Permanently');
redirect(build_url(array('sid')));
}