.htaccess redirect not properly working [ ?utm_source=]

Fixed it by adding following code. (just update for others to use it)

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} .
RewriteCond %{QUERY_STRING} !^(s|p)=.*
RewriteCond %{REQUEST_URI} !.*wp-admin.*
RewriteRule .* http://www.mydoman.com%{REQUEST_URI}? [R=301,L]
</IfModule>