PDA

View Full Version : How to change the icon next to the Url bar?



phiestasia
09-12-2011, 08:25 AM
I already tried :

<head>
<link rel='shortcut icon' href='images/png/favicon.ico'>
<link rel='icon' type='image/ico' href='favicon.ico'></link>
</head>

And nothing change :mad:
I already tried it at offline mode, it works! But after i upload it at bluehost, it don't work :mad:

Bob Barr
09-12-2011, 01:32 PM
I use this code:

<link rel="shortcut icon" href="images/favicon.ico" >

The lines you've posted aren't consistent. The first line is looking for the file in a subfolder two levels below your 'public_html' folder but the second one is looking for it in your 'public_html' folder.

Also, if the file can be accessed successfully on your local machine but not on Bluehost's, you may have a capitalization difference between your HTML link to the file and the file or folder name being used on your site. Windows isn't case-sensitive but Linux is. (The file names 'favicon.ico' and 'FAVICON.ICO' are considered the same file under Windows; they're two different files under Linux.)

peterpatrickgo
09-14-2011, 02:57 AM
You could upload a favicon.ico under the root

farcaster
09-14-2011, 09:43 AM
Here's a Bluehost Help Center article on how to do just that.

https://my.bluehost.com/cgi/help/374

djmatt
09-14-2011, 05:44 PM
I have also found that my browser caches the favicon and it can take awhile, even with forced refreshes and empty caches, etc. to get my browser to replace an existing favicon.

phiestasia
10-09-2011, 02:49 PM
thank you everyone . . . finally it works :D