Skip to content
Snippets Groups Projects

archwiki: Preserve query parameters when redirecting to the new short URL

Merged Kristian Klausen requested to merge klausenbusk/infrastructure:wiki-redirect into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -54,7 +54,7 @@ server {
# Redirect old URLs to the new short-url (/title/<page>)
location ~ ^/index.php/(.*)$ {
return 301 /title/$1;
return 301 /title/$1$is_args$args;
}
# Handling for the article path (pretty URLs)
Loading