Skip to content

Instantly share code, notes, and snippets.

@lynt-smitka
Created June 11, 2019 07:38
Show Gist options
  • Save lynt-smitka/297004bed3aa4fb3065af16fd6e7ff18 to your computer and use it in GitHub Desktop.
Save lynt-smitka/297004bed3aa4fb3065af16fd6e7ff18 to your computer and use it in GitHub Desktop.
RewriteCond %{QUERY_STRING} ^(.*?)(&?(?:fbclid|gclid|utm_source|utm_medium|utm_campaign|utm_term|utm_content)=[a-zA-Z0-9_-]+)(.*?)$
RewriteRule ^(.*)$ /$1?%1%3 [L,NE]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment