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.
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.
1. To add one, it is simple. First you at least need to make a 16×16 pixel icon in your graphic editing program.
2. Convert it to the accepted .ico (for icon) file extension. There are a few favicon generators online. Here is one I often use: Favicon Generator Tool at Dynamic Drive
3. Once you have saved the file to your computer, you will need to upload it to your web hosting space.
4. In your layout’s template, before the ending head tag, 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, normally this would go in your header.php file. In the case that you are deciding to use a plugin for this – DO NOT. Just use this tutorial. It is less coding and if you are still confused, ask and I can try to help walk you through it.