From 34b7980587df61ae084bddd4513a45f6218467cd Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 9 Jul 2022 20:23:29 +0300 Subject: use 302 redirects by default, explicitely specify 301 where really needed --- handler/Auto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'handler/Auto.php') diff --git a/handler/Auto.php b/handler/Auto.php index c0d4c13..9903993 100644 --- a/handler/Auto.php +++ b/handler/Auto.php @@ -17,7 +17,7 @@ class Auto extends RequestHandler { public function get(): Response { list($name) = $this->input('name'); if ($name == 'coreboot-mba51-flashing') - return new RedirectResponse('/coreboot-mba52-flashing/'); + return new RedirectResponse('/coreboot-mba52-flashing/', 301); if (is_numeric($name)) { $post = posts::get((int)$name); -- cgit v1.2.3