From: Mikael Nordfeldth Date: Wed, 6 Jan 2016 19:06:14 +0000 (+0100) Subject: Our URLs are permanent redirects, mind you! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d179c6b0ce1b567c3e6f77e1db845c621cd2bf0;p=quix0rs-gnu-social.git Our URLs are permanent redirects, mind you! --- diff --git a/actions/redirecturl.php b/actions/redirecturl.php index db3784bf31..826ab66a67 100644 --- a/actions/redirecturl.php +++ b/actions/redirecturl.php @@ -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)