You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into a bit of trouble today on a project that needs to maintain query strings for marketing campaigns. I opened an issue about it earlier.
I'm wondering if we can maintain query strings by default on exact match rules, or even to have a checkbox to choose. As it stands, this project will have to use regex patterns for all of its redirects and this will lead to confusion in the future.
Thanks!
The text was updated successfully, but these errors were encountered:
@riasvdv thank you for implementing this feature! I noticed two issues:
The config is read via config('redirect.preserve_query_strings') and not config('statamic.redirect.preserve_query_strings'), so that it needs a separate configuration file.
If the redirect destination already defines a query string, it can result in URLs like this /example?foo=bar?foo=bar. I think it would be better to merge these.
We ran into a bit of trouble today on a project that needs to maintain query strings for marketing campaigns. I opened an issue about it earlier.
I'm wondering if we can maintain query strings by default on exact match rules, or even to have a checkbox to choose. As it stands, this project will have to use regex patterns for all of its redirects and this will lead to confusion in the future.
Thanks!
The text was updated successfully, but these errors were encountered: