InMotion favicon sampleWhen you visit a website, there is an image in the browser tab that displays for each site (See image to the right). This is called a "favicon". The favicon image is in the .ico file format. You can have other file formats; however, this article will only explain how to use the .ico format. The .ico format is universally accepted in all browsers. To create your own favicon, you can use our Favicon Generator.

Important! You will want to name your favicon image "favicon.ico". Also, when creating a favicon, you will want to make sure your image is square and not rectangle.

Once you get your favicon generated, you can upload it to your server and add code to your site to display your own image in the browser tab. Below are the steps to get your own favicon working on our server.

Steps to add a favicon to your site

  1. Login into your cPanel.
  2. Go to the File Manager, Select your directory for your site (In this case the main domain public_html location) and Click Go.
  3. Upload the favicon to your server.
  4. Where the code goes in the head sectionEdit the source code that contains the <head> code of your site. The head section code should look similar to the snapshot to the right.
  5. Placement of favicon linkAdd the following line of code below the <title> tag.

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

    Save the file and preview your site in your browser. You should see the favicon show in your browser.


    Important! If you do not see your favicon load in your browser, you may need to Clear your browser cache.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
2012-11-29 5:44 pm
I have uploaded the favicon.ico image into my roots directory. It's not appearing on my site. This could be because I do not know how to insert the header code referenced above. I am using a joomla platform.

Any help is much appreciated!
2013-02-28 6:44 pm
The tutorial above says to "Edit the source code that contains the code of your site". Could you tell me in which file it would be? i appreciate your help
n/a Points
2014-03-25 12:46 pm

For anyone having problems with this. If you use the following line of code instead of the one given up top may help. 

 <link rel="icon" type="image/ico" href="http://www.insertyourwebsite.com/favicon.ico"/>

n/a Points
2014-09-22 6:25 am

works beautifully! thanks!

n/a Points
2014-07-23 8:36 am

I tried both the solutions but i'm still seeing the inmotionhosting favicon...how can i fix it?

Thanks in advance!

Staff
10,345 Points
2014-07-23 9:45 am
Hello Emanuele,

Thank you for your question. In most cases, you will not see the new Favicon, until you clear your browser cache.

Also, as a test, try to view the favicon, by navigating directly to it.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
n/a Points
2014-07-23 11:45 am

Just deleted the cache and navigated directly to the favicon file and it displays correctly (i'm using chrome). Now the favicon displayed aside the title of the page is the blank paper. I just found a solution! First of all i have two domains on the same hosting account, the first one is pointed to my public_html folder, the second in a subfolder in public_html. The only way to display the favicon is to upload it directly in the public_html folder instead of uploading it in let's say "public_html/domain_B". Why can not i use the favicon file in the subfolder of site_B?

Staff
9,479 Points
2014-07-23 12:00 pm
The favicon should be in the root directory for that domain so if it is an addon domain, you would place it in the directory for that addon domain. If you need to specifically define a favicon directory, you may do so within your code itself. Please this in your section of your code to define a specific favicon path:

<link rel="shortcut icon" href="http://example.com/myicon.ico" />

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

9 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!