From 60060cff5541dab0f54c02de60ddcde21662f95f Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Thu, 23 Aug 2018 09:21:38 +0200 Subject: [PATCH] fixes #3359 changed default redirect code from 302 to 301 for better seo compatibility --- e107_handlers/e107_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index b9803f7e4..fd80647de 100755 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -3559,7 +3559,7 @@ class e107 * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3 * @see https://tools.ietf.org/html/draft-reschke-http-status-308-07 */ - public static function redirect($url = '', $http_response_code = 302) + public static function redirect($url = '', $http_response_code = 301) { self::getRedirect()->go($url, true, $http_response_code); }