htaccess rewrite rule loads assets twice?
Posted
by kristian nissen
on Stack Overflow
See other posts from Stack Overflow
or by kristian nissen
Published on 2010-06-17T19:10:52Z
Indexed on
2010/06/17
19:13 UTC
Read the original article
Hit count: 287
.htaccess
I am using these rules:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\..+$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*+)$ /$1/ [L,R]
RewriteRule !\.(js|ico|gif|jpg|png|css|html|swf|flv|xml)$ index.php
But when I check resources loaded in chrome, I can see that my .css files are loaded twice.
© Stack Overflow or respective owner