View Single Post
Old 2010-02-23, 01:25 PM   #3
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Code:
RewriteEngine on
Rewriterule index.php/feed/ http://www.domain.com/ [R=301,L]
not sure exactly where you want it to head, but, http://www.domain.com/ will redirect it to the root of the domain with the www. preceding.

you might consider replacing:

Code:
RewriteRule (gif|jpg|png|swf|mpg|avi|GIF|JPG|PNG|SWF|MPG|AVI)$ http://www.domainname.com [R,L]
with

Code:
RewriteRule (gif|jpg|png|swf|mpg|avi|GIF|JPG|PNG|SWF|MPG|AVI)$ http://www.domainname.com/ [R=301,L]
Since your other rewrite will do a 302 and you might be unintentionally scraping your results. Without the trailing / on the url, you would also force the surfer (or spider) to have to do a 301 redirect to properly grab the file at the root.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote