![]() |
.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:
|
Keeping in mind that I used "domain.com" in place of the actual domain.
I don't actually own domain.com |thumb |
Code:
RewriteEngine on 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] |
Awesome. Works perfect.
Thanks! |
All times are GMT -4. The time now is 10:56 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc