# Rewrite path with additional sub directory RewriteCond %{QUERY_STRING} id=20 RewriteRule ^(.*)$ - [G]