I have quite a few of [
www*mydomain.com...] links coming in. I have blocked Google from indexing anything with ? to avoid the dreaded dupes but I'd rather get whatever link juice--if any--so I am trying to redirect /product-keyword?utm_source=twitterfeed&utm_medium=pingfm to just
/product-keyword automatically.
I have this on my apache but I can't figure out how to make the product as a variable, since they keyword is the same.
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php?\ HTTP/ [NC]
RewriteRule ^(.*)index.php?$ [
www*mydomain.com$1...] [R=301,L]
Any suggestions? Thanks in advance.