We have a set of URLs with empty query string values. Example:
The above URL has a query parameter "variant" with no value.
Even if we have this rule as part of ER policy, it does not get applied. I had seen the same issue with various other URLs in past which has empty values for any query parameter.
As a quick solution i just added the URL as regex match and it worked. But we have a lot more URLs and as per my understanding regex execution is costly so i am reluctant to use it.
Another way i can think of is adding all the redirects in configuration.
Is there any optimal way to implement such redirects?