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

Merge branch 'wiki-redirect' into 'master'

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

See merge request archlinux/infrastructure!380
parents fcd1c942 fd1f8f72
Pipeline #7200 passed with stage
in 53 seconds
......@@ -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)
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