Installation

Upload Your Favicon

Start by uploading you favicon in either ICO or PNG format to your website's director. The main directory or root directory of the website is the recommended location to place your favicon.

Your favicon should be accessible at one of the following urls:

  • https://www.example.com/favicon.ico
  • https://www.example.com/favicon.png

Using an ICO Formatted Favicon (recommended)

If you're using an ICO formatted favicon in the root of your website directory your favicon will automatically be loaded by the web browser. As long as your favicon is accessible at https://www.example.com/favicon.ico then no linking to the favicon is required.

Using a PNG Formatted Favicon

Modern browsers are able to use PNG files for favicons. Using a PNG requries the website to specify the path the PNG. Place the link tag below in the head of your website.

<link rel="icon" href="http://example.com/favicon.png">

Not all web browsers can load PNG formatted favicons. Check Caniuse for up to date PNG favicon browser compatibility.

Installing in a Custom Path

If your ICO formatted favicon is located in a directory other than the root directory you must specify the path in a link tag. Place the link tag below in the head of your website.

<link rel="icon" href="http://example.com/images/favicon.ico">