I have been reading many forums and tutorials on mod_rewrite, but the truth is, I am very inexperienced in this area and unfortunately have the responsibility of successfully executing these redirects.

I am trying to 301 redirect 3 dynamic URLs to the existing homepage http://www.mydomain.com

http://www.mydomain.com/index.php?ma...roducts_id=603
http://www.mydomain.com/wine-cabinet...cPath=8_17_161
http://www.mydomain.com/dometic-wine...cPath=8_12_102


I'm not sure if I should use a {Query_String} rewrite or something like this:

RewriteRule ^([a-z/]+)\.html$ $1.php [R=301,L] I'm also not sure if I should write separate rules for each domain or use one rule for all three. Any insight would really be appreciated.


mod_rewrite is enabled on my .htaccess File.