summaryrefslogtreecommitdiff
path: root/actions/tag.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/tag.php')
-rw-r--r--actions/tag.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/tag.php b/actions/tag.php
index 231f2c299..d15f64498 100644
--- a/actions/tag.php
+++ b/actions/tag.php
@@ -33,7 +33,9 @@ class TagAction extends Action
}
if ($this->tag != $taginput) {
- common_redirect(common_local_url('tag', array('tag' => $this->tag)));
+ common_redirect(common_local_url('tag', array('tag' => $this->tag)),
+ 301);
+ return false;
}
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;