dbr1066 - 6:20 pm on Oct 22, 2013 (gmt 0)
I don't think I said I didn't want to redirect at all. If that's how it came across I apologise.
You are absolutely correct; I DO want to redirect from /directory/ to /directory/index.htm
but only because Google is flagging all my directory and index pages as duplicates. I understand that most folks here are of the opinion that that's backwards. All I really want [puts on best nooby innocent look] is to make sure Google knows there is only 1 url, not 2, and it seems a 301 is the best way to do that (correct me if I'm wrong).
I do get it that people here don't like this idea, and think I should be directing the index page to the /directory/, however, pages like /directory/index.htm are the actual page, with internal and external links. Its a huge website, with thousands of links to the actual pages such as /directory/index.htm, so I'm really reluctant to redirect away from the actual page to the directory. Is there no way to do it the other way? So far all I've done is get into an endless loop trying things like this within a directory
Redirect 301 ^/ http://www.example.com/directory/index.htm