Did you look over http://www.google.com/search?q=redirect+using+.htaccess
Hi All,
I have been looking through the forum postings to find any post that will help me solve my .htaccess problem.
The site in question has been live for about 6 weeks and I found a problem with the site architecture which I can fix using a redirect.
Pointing the browser to root url minus the www redirects me )like it should) to the www.mydomain.com great but looking at the homepage I discovered the link from the logo is directed to www.mydomain.com/index/ which, is the problem we have 2 index pages thereby splitting the sites page rank How do I redirect the /index to the www.homepage.com.
This is code snippet I used but doesn't work.
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com\index [NC]
RewriteRule ^(.*) http://www.mydomain.com/$1 [L,R=301]

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic