I've just taken over the site from hell.
Not only does it have a structure that contains numerous "/dir/index.htm" files, it also has lots of external incoming links to both "index.htm" and "index.html."
I've captured 700+ of the incoming links to "index.htm" with this...
RewriteRule ^index.htm$ / [R=301,L]
..but now I'm trying to also capture the links coming into "index.html," but nothing is working. Everything I try winds up in a loop.
Does anyone see a way to modify the above rule to also redirect "index.html" to "/"?
I've read numerous older posts on the subject in this forum, and one in particular from JD leds me to believe that it can't be done without first getting rid of all the "/dir/index.htm" files.