.htaccess Redirect

I have got my website to redirect from examplesite.com to <!-- w --><a class="postlink" href="http://www.examplesite.com">www.examplesite.com</a><!-- w --> with this code:<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->RewriteEngine on<br />Options +FollowSymLinks<br /><IfModule mod_rewrite.c><br />RewriteCond %{HTTP_HOST} ^examplesite\.com$ [NC]RewriteRule ^(.*)$ <a href="http://www.examplesite.com/$1" target="_blank">http://www.examplesite.com/$1</a> [R=301,L]<br /></IfModule><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br />And I found this code to redirect from <!-- w --><a class="postlink" href="http://www.examplesite.com/index.html">www.examplesite.com/index.html</a><!-- w --> to <!-- w --><a class="postlink" href="http://www.examplesite.com">www.examplesite.com</a><!-- w --> :<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->RewriteCond %{HTTP_HOST} ^examplesite.com<br />RewriteRule (.*) <a href="http://www.examplesite.com/$1" target="_blank">http://www.examplesite.com/$1</a> [R=301,L]<br /><b>RewriteRule ^$ index.html</b><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />I've been using the first one already and was wanting to also implement the second one, but didn't want to do it wrong and there is something I read about looping which means longer load time??<br /><br />How do I write it to insert into .htaccess for it to work properly. If you paste the code, could you put it into quotes so I can just cut and paste. I have been searching for this answer for some time now and can never get a straight answer or solution. I don't think I'm being penalized by any search engines, but I do get two different PR values from Google for each. I'd just like to get everything redirecting to <!-- w --><a class="postlink" href="http://www.examplesite.com">www.examplesite.com</a><!-- w -->. Thanks!<!--content-->
 
Top