RewriteEngine On RewriteCond %{QUERY_STRING} example= RewriteRule (.*) http://www.domain.com/$1? [R=301]