For years my website homepage was http://www.mydomain.com with the homepage being an index.htm file. I just converted the homepage to a WP site that I intend to make into a multisite. I am trying to add a line in the htaccess file to create a 301 redirect to redirect from http://www.mydomain.com/index.htm to http://www.mydomain.com/index.php or whatever will cause the redirect. I've tried the following lines of code without success:
RewriteRule ^index\.htm$ http://www.mydomain.com [R=301]
RewriteRule ^index\.htm$ http://www.mydomain.com/index.php [R=301]
Redirect 301 /index.htm http://www.mydomain.com/index.php
Each time I put http://www.mydomain.com/index.htm in the browser I am taken to the new WP site, but it says the page cannot be found.
What is the code to redirect the index.htm file to the WordPress site home page?