I assume your webserver runs apache and has the mod_rewrite enabled?
In this case, you could match the QUERY_STRING (part behind the ? mark) against a regular expression.
Like so:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} ^option=com_nap [NC]
RewriteRule ^ http://subdomain.example.com%{REQUEST_URI} [R=301,L]
</IfModule>
1) You turn on the Rewrite Engine if its available
2) You check the QUERY_STRING wether it starts with option=com_nap
3) You redirect with a 301 to the subdomain