我试过这些例子:
RewriteCond %{QUERY_STRING} !^gclid=
RewriteCond %{HTTP_REFERER} ^(.*)?gclid=([^&]+)
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1?gclid=%2 [QSA,L]
和
RewriteCond %{REQUEST_URI} ^/$
RewriteCond %{QUERY_STRING} ^(gclid=.*)
RewriteRule ^(.*)$ /index.php?/ [L,PT]