diff --git a/roles/archwiki/templates/nginx.d.conf.j2 b/roles/archwiki/templates/nginx.d.conf.j2 index 26c4992db3a4a81bf3b964e706dfda273a82030b..ed7021cea479752d91d11aa32034b32355f686e3 100644 --- a/roles/archwiki/templates/nginx.d.conf.j2 +++ b/roles/archwiki/templates/nginx.d.conf.j2 @@ -54,7 +54,7 @@ server { # Redirect old URLs to the new short-url (/title/<page>) location ~ ^/index.php/(.*)$ { - return 307 /title/$1; + return 301 /title/$1; } # Handling for the article path (pretty URLs)