A favicon (short for favorites icon), also known as a website icon, shortcut icon, url icon, or bookmark icon is a 16×16, 32×32 or 64×64 pixel square icon associated with a particular website or webpage. Wikipedia
For the rest of us who are not as technical. It is that tiny picture next to the browser URL area that might change when visiting one site to the next.
- To add one, it is simple. First you need to make a 16×16 pixel icon (or bigger) in your graphic editing program.
- Convert it to the accepted .ico (for icon) file extension. There are a few favicon generators online.
- Once you have saved the file to your computer, you will need to upload it to your web hosting space.
- In your layout’s template, before the ending head tag (</head>, put the following code:
<link rel="shortcut icon" href="http://YOURDOMAINHERE/favicon.ico" />
Make sure you replace “YOURDOMAINHERE” with your URL path where you have uploaded your favicon file.
Once you have done, bookmark your page. You might have to clear your computer’s cache and also restart your browser to see the changes.
For those who use WordPress, usually, this would go in your header.php file. Or you can use my free WordPress Favicon & Site Icon Generator, which will generate a custom plugin and add all the favicon sizes for maximum compatibility Automatically.