|
2010-02-23, 10:37 AM | #1 | |
I'm not interested in the facts, I'm interested in my opinion.
|
.htaccess problem
I just bought a site and I was looking through the stats and see that a lot of traffic is being sent to:
http://www.domain.com/index.php/feed/ My normal htaccess file does not work because it's going to index.php/feed/ and not just /feed/ Not sure what I can add to my htaccess to get that to redirect back to the main page. Here is what I currently have: Quote:
|
|
2010-02-23, 11:30 AM | #2 |
I'm not interested in the facts, I'm interested in my opinion.
|
Keeping in mind that I used "domain.com" in place of the actual domain.
I don't actually own domain.com |
2010-02-23, 01:25 PM | #3 |
a.k.a. Sparky
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] you might consider replacing: Code:
RewriteRule (gif|jpg|png|swf|mpg|avi|GIF|JPG|PNG|SWF|MPG|AVI)$ http://www.domainname.com [R,L] Code:
RewriteRule (gif|jpg|png|swf|mpg|avi|GIF|JPG|PNG|SWF|MPG|AVI)$ http://www.domainname.com/ [R=301,L]
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2010-02-23, 01:46 PM | #4 |
I'm not interested in the facts, I'm interested in my opinion.
|
Awesome. Works perfect.
Thanks! |
|
|