Drupal: How To Change favicon.ico
If you ever thought about how to change the standard Drupal icon to a custom one, this article is for you. The available solutions are:
-
Specify an alternative icon in theme settings
-
Replace favicon.ico file in current theme
-
Replace favicon.ico system file
Choose one that is the best for you!
Specify an alternative icon in theme settings
Open “Settings” page:
- Drupal5: admin/build/themes/settings,
- Drupal6: admin/build/themes/settings
Choose the required theme and make the necessary settings:
- use an icon from the theme,
- specify a path to an alternative icon or
- upload an icon to a server.
Replace favicon.ico file in current theme
Replace favicon.ico file in a folder with current theme or add a new one if it is absent.
Note: You should uncheck “Use default icon”. (It is checked by default)
Replace favicon.ico system file
- Replace /misc/favicon.ico with your own image file.
- ‘Use default icon’ must be set in current theme settings.
Disadvantage of this solution is that this file will be replaced back when you update Drupal to the newest version.
Good luck!