Reputation: 149
Now I'm doing a redirect with this code:
if ($args ~* "(utm_|gclid|fbclid)") {
rewrite ^(.*)$ $uri? permanent;
}
and it will redirect if these parameters are added. But how can I do the opposite? In order not to redirect with these parameters, but the condition was false
Upvotes: 0
Views: 350