Search code examples
htmlwordpressapacheftpfavicon

can't download own favicon


I have the favicon.ico at the root of my website http://www.agrointel.ro/favicon.ico However, when I try to access it, all I get is a 16x16 px blank file. Remove the extension and it works fine (http://www.agrointel.ro/favicon displays the favicon.ico). The same if I rename the file but keep the .ico But I can't have both at once - name and extension.

Wouldn't be a big deal, except that feedburner doesn't see it neither, and it can only search "/favicon.ico" - finding nothing.


Solution

  • You might want to give this a read: Apache and "favicon.ico".

    Mainly this:

    For some reason the execute bit has to be set on this file for Apache to use it. If you have shell access, type:

    chmod +rx favicon.ico

    and this:

    Then edit "/etc/httpd/conf/httpd.conf" and insert the following line:

    AddType image/x-icon .ico