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


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.