Our URLs are permanent redirects, mind you!
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jan 2016 19:06:14 +0000 (20:06 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jan 2016 19:06:14 +0000 (20:06 +0100)
actions/redirecturl.php

index db3784bf31d70b4bb09f9eb816ec107d5225c863..826ab66a679188dac905bcae3e6b2ce6b3721033 100644 (file)
@@ -56,7 +56,7 @@ class RedirecturlAction extends ManagedAction
 
     public function showPage()
     {
-        common_redirect($this->file->url, 307);
+        common_redirect($this->file->getUrl(false), 301);
     }
 
     function isReadOnly($args)