Skip to content

Instantly share code, notes, and snippets.

Last active February 9, 2023 20:51
What would you like to do?
Remove fbclid argument from the URL in .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(.*?)(&?fbclid=[a-zA-Z0-9_-]+)$
RewriteRule ^(.*)$ /$1?%1 [L,NE,R=301]
Copy link

ctrl-state-machine commented Jun 12, 2021

added to my zwiicms apache server. work perfectly.

Copy link

pcbnl commented Nov 24, 2021


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment