Forum Moderators: Robert Charlton & goodroi
^yrvn= will match only when this is the first parameter. (.*) is not needed as you aren't reusing what it captures. /* matches a request for example.com// or example.com//////////////// or similar. [replacer_a] is, but it is not valid syntax. [R=404] isn't needed. You only need a rewrite, not a redirect. A rewrite to any non-existent path will trigger the 404 response. RewriteCond %{QUERY_STRING} (^|&)yrvn=
RewriteRule .* /does_not_exist [L]