I\'m not able to remove one GET parameter wrongly added by one 404 SEF module.
I want to remove \"task=view\" only if it appears alone and not with another parameter
Use this rule:
RewriteCond %{QUERY_STRING} ^task=view$ [NC] RewriteRule ^(.*)$ $1? [R=301,L]
? at the end of $1 will strip-off any existing query string.
?
$1