Changing the site favicon

From Joomla! Documentation

Revision as of 05:33, 20 July 2008 by PeterSpruijt (Talk | contribs)

  1. Create a 16x16 pixel image. You may use graphic software such as Photoshop, Gimp or Windows Paint or an online tool such as
  2. Convert to ico format using free online sites such as:
  3. The file you created in this way will have the extension .ico. Copy the file to the /joomla/templates/<your template> directory and name it favicon.ico.
  4. Open a browser. Do you see your new icon? If so, congratulations. If not, that doesn't necessarily mean you did anything wrong. Browsers are designed to minimize data traffic, so they don't refresh the favicon every time they show a page. Even refreshing the page (F5) wont help. So you need to refresh more thoroughly:
    • Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
    • IE: hold Ctrl while clicking Refresh, or press Ctrl-F5;
    • Konqueror: simply click the Reload button, or press F5;
    • Opera users may need to completely clear their cache in Tools→Preferences.

If this doesn't work you will need to delete the temporary internet files and the history and then open your page again.

Some templates contain code that redirects the browser to another directory or another icon file. To determine where your new favicon should be, examine /templates/index.php and look for code that contains the text <link rel="shortcut icon". There you will find the directory and the name of the icon file. Copy your icon to that place and give it the right name. Look at the example below.
<link rel="shortcut icon" href="" />