htaccess redirect to directory with parameters code example
Example: htaccess redirect based on parameter
# Redirect Query String
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} key=value
RewriteRule (.*) /path/ [R=302,L]
</IfModule>