I have copied a custom favicon file to my www.sitename.org\misc folder, emptied the cache tables and I still get the default drupal favicon in the address bar and window tab. I am using the Marinelli theme and IE. I have searched "favicon" and "shortcut icon" on this site and treied most of the things, but to no effect. Thanks for any advice.

Comments

Anonymous’s picture

Did you let Drupal know you want to use the custom favicon? Hit the configure link on the theme admin page.

Ashford’s picture

A few possibilities...

#1 - Double check the directory path to the image and typed in the theme settings. No slash in front of 'misc'.

#2 - Try putting a copy of the image file in your top Drupal directory.

Ashford

paulrooney’s picture

Try viewing the source and looking for the link to the favicon to make sure it's actually referencing it in the misc directory, i.e.

Some themes will look by default in the theme directory, so you might need to replace it there as well.

You can also try viewing the file directly, i.e.
www.example.com/misc/favicon.ico or
www.example.com/sites/example.com/themes/themename/favicon.ico

benansell’s picture

Go to the settings for your theme, and you can upload a favicon, or point one in your web server file system.

Here: /admin/build/themes/settings/

I keep it in my theme's images folder. Hope this helps!

nicolaisen_nancy’s picture

It turns out I had several problems, and your input helped solve most. I also had an invalid icon file--I caught on to this using the technique in the comment above where you display the icon by using its path. Again, my thanks to all who offered help.

jonraabe’s picture

I found that the Favicon is located in the misc folder and all you have to do is replace that existing file with yours with the same name. It should work after you refresh your browser and clear the cash.

alqureshi’s picture

We had a similar issue with one of our sites. Replacing the favicon file in the relevant directories did not work in our case.

The resolution was to upload the custom favicon in the themes settings page.

mannos’s picture

'Path to custom icon' on the theme settings page can be a little misleading. If for instance your custom icon has already been copied to your root folder, specifying 'favicon.ico' as your path should work.

cheese_monkey’s picture

Except that typing simply favicon.ico generates a "path is not valid" error from Dupal 7.14. :-(

Dbrooks1223’s picture

If anyone is trying to add a favicon, Internet Explorer will only display the favicon if it is converted as a ICO file format. IE from version 5 and up will not see a .png, jpeg, or any other format.

Thanks