Skip to content
Snippets Groups Projects
Commit c241a60c authored by Kristian Klausen's avatar Kristian Klausen :tada: Committed by Jelle van der Waa
Browse files

archwiki: Make the /index.php/ -> /title/ redirect permanent (301)

It seems to work, so we can make the redirect permanent now.
parent 18180969
No related branches found
No related tags found
1 merge request!370archwiki: Make the /index.php/ -> /title/ redirect permanent (301)
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment