Commit ee471d3a authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Merge branch 'wiki-short-url-permanent-redirect' into 'master'

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

See merge request !370
parents 18180969 c241a60c
Pipeline #6953 passed with stage
in 40 seconds
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment