You should not have both "/" and "index.html" and "index.php" open to indexing. That is Duplicate Content. You should redirect "index.htm" to "/" and redirect "index.php" to "/" too. Those redirects fix an error you may have otherwise previously made by leaving both open to indexing.
However, your redirect example is wrong in several ways.
If you are redirecting "index.html" to "/", then you would never need to redirect "index.htm" to "index.php".
All of them should be redirected to "/", and NOT in a chain.
I also would not use "Redirect 301 ..." which is in the Mod_Alias functions, but instead would use a RewriteRule which is a part of the Mod_Rewrite functions. This has an effect on the order that your directives are processed.
|