I see from the Craft's default remove index.php htaccess code here that the following line takes into account favicon.ico files.

RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]

I was wondering, with the many different file names of favicons these days would it be ok to make the rule look like this:

RewriteCond %{REQUEST_URI} !^/(.*\.ico|.*\.png)$ [NC]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.