Add your logo to the address bar [favicon]

Answers the question: How do I add my logo to a browser’s address bar?

It’s been awhile since I first installed Mozilla Firefox. One of the things I noticed was a fancy logo next to the address bar in the browser. Then with tabbed browsing I saw a logo for each web site. Microsoft added this ability when it introduced Internet Explorer 5.5. Now with IE7 you can see the logos in tabbed browsing as well. Here’s how you can place your logo next to the address bar. It will also show up when someone bookmark’s your site or adds it as one of their favorites.

I should clear up that the logos are referred to as favicons and it’s full file name is normally favicon.ico. Click here for Troubleshooting tips for favicons

style=“margin-top: 30pt”>First create a favicon

Here are a few places to create favicons for free. You will need the image that you like to show up in the address bar. Make sure to name the file favicon.ico

After you have created the favicon, download it to your computer and follow the next steps.

style=“margin-top: 30pt”>Next upload the favicon

The best place upload the .ico file is in the root directory of your web site. In most cases this is the same place where your index file is.

style=“margin-top: 30pt”>Finally, link your favicon.ico file

Link this on every page of your website. If you have a header file (header.php or header.asp etc.) then this will just take a few seconds.

Copy and past this link between the head tags (<head></head>) on your pages.

<link rel=“shortcut icon” href=”/favicon.ico” />

This is a common way to link the icon using XHTML and the one that we use on our site.

Here is another way:

<link rel=“shortcut icon” href=”/favicon.ico” type=“image/x-icon” />

And yet another way:

<link rel=“shortcut icon” href=“http://yourdomain.com/favicon.ico” type=“image/vnd.microsoft.icon”>
<link rel=“icon” href=“http://yourdomain.com/favicon.ico” type=“image/vnd.microsoft.icon”>

Troubleshooting and Tips

What if the favicon you just added isn’t showing up? Here are some things that may help if you cannot see your favicon:

  • Make sure it is uploaded and the link is in the proper place
  • Try deleting your browser’s history and cached Internet files – How to delete usage history
  • Try restarting your browser, this should be done after you delete your browser’s history
  • Try adding a question mark after your favicon link:
    <link rel=“shortcut icon” href=”/favicon.ico?”>
    This will force the server to look for a new favicon every time the page loads.

If you follow those steps you should see your new logo appear in the address bar of your favorite browser.

Zach Katkin
Zach Katkin
Zach Katkin is the co-founder & CEO of Atilus. He is a Certified Google Professional, author, and lover of technology. He helps Atilus stay out ahead of online marketing trends and loves driving results for Atilus' clients.

Leave a Comment

 

Recent Comments | 11 Comments
Recent Posts

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.