Redirect Rules does not preserve query string
Hey, I'm trying to redirect x, but I cannot make it preserve the query string preserved regardless of whether or not it's ticked. I hope someone can help.
5 Replies
it's keeping the query string
are you maybe confusing query strings (after ? at the end of a url, like /?cookies=7) with paths
/cookies-example
yeah
is that not possible to redirect?
and keep the path? It is, you just need a custom expression. Pick Type Dynamic and use the expression
Expression:
concat("https://newsletter.airreps.link", http.request.uri.path)
Great! Thank you so much.