Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
c241a60c
Commit
c241a60c
authored
May 02, 2021
by
Kristian Klausen
🎉
Committed by
Jelle van der Waa
May 03, 2021
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archwiki/templates/nginx.d.conf.j2
View file @
c241a60c
...
...
@@ -54,7 +54,7 @@ server {
# Redirect old URLs to the new short-url (/title/<page>)
location ~ ^/index.php/(.*)$ {
return 30
7
/title/$1;
return 30
1
/title/$1;
}
# Handling for the article path (pretty URLs)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment