From f807dfafe514843370ad888cf2da0d5ae16b50a4 Mon Sep 17 00:00:00 2001 From: Simon Sigurdhsson Date: Sun, 21 Jun 2026 18:50:30 +0200 Subject: [PATCH] docs: add note on query support to url-redirects.md --- src/v2/features/url-redirects.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v2/features/url-redirects.md b/src/v2/features/url-redirects.md index c04564c..afd51e9 100644 --- a/src/v2/features/url-redirects.md +++ b/src/v2/features/url-redirects.md @@ -8,6 +8,8 @@ outline: deep URI redirects are particularly useful with pattern matching ([globs]()). Use them for example to prevent broken links if you've moved a page or to shorten URLs. +Query strings are handled much like with [Apache's QSA flag](https://httpd.apache.org/docs/2.4/rewrite/flags.html#flag_qsa), which means the query part of the request URI is passed on to the `destination`. If there's a query part in both `destination` and request, the request query is _appended_ to the `destination` query. + ## Structure The URL redirect rules should be defined mainly as an [Array of Tables](https://toml.io/en/v1.0.0#array-of-tables).