I am redirecting everything using my .htaccess file to index.php except for a few exceptions. This is the rule I am using:
RewriteRule !\.(js|ico|gif|jpg|png|css|php|bmp|txt)$ index.php
But the problem is that it works for everything except .ico files! I can go to http://www.rakeback.com/rakeback.ico and I get the 404 error. I don't get it because I have explicitly said not to redirect .ico files. How can I fix this?
Mod Rewrite and .ico files
Moderator: General Moderators
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
Re: Mod Rewrite and .ico files
of course it redirects, there was no rakeback.ico file! zargs! i hate it when i do stuff like that.