Forum Moderators: open
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mywidgets.com
RewriteRule (.*) http://www.mywidgets.com/$1 [R=301,L]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
There's just over 10 000 posts with example code for "redirects with parameters" shown here in the WebmasterWorld Apache forum. It's a question that is asked several times per week.
And how did this thread end up in the Yahoo forum?!