0

Hello i have done a favicon.ico to put in the address bar. Although is shows locally (wampserver) when i put it online the icon doesnt appear. This is what i use:

<link href='<?php echo $base_url; ?>icons/favicon.ico' rel='icon' type='image/x-icon' />
<link href='<?php echo $base_url; ?>icons/favicon.ico' rel='shortcut icon' type='image/x-icon' />
5
Contributors
12
Replies
31
Views
2 Years
Discussion Span
Last Post by SimonIoa
0

In HTML5, you don't need type="".
Also, it's recommended to put your favicon in your base directory (/) as browsers automatically call at /favicon.ico — so that might save some headaches.

Best of luck.

0

still the same. the icon doesnt appear. Changed the directory but still the same

0

i am gettings an error: the image can't be shown because it contains errors. Anybody knows why is that?

0

Hola,

It could be ccorrupted if it is not uploaded properly, copied properly, could be many reasons. I suggest you take the image you want to use as a favicon(i am guessing, you have it in either 16x16 or 32x32).

If not and you have a bigger image you can resize your image using photoshop, If you are not familer with photoshop, i suggest you use: the online editor:
http://apps.pixlr.com/editor/

& once you have the image with the favicon sizes i mentioned above:
you can convert the image to a favicon using this site here:
http://tools.dynamicdrive.com/favicon/

Let us know if you have any issues :)

0

its not that. The name used to be logo.ico. When i use yourdomain.com/logo.ico the icon appears as icon but not in the address bar as wanted. If i change the name to favicon the icon doesnt appear either on the yourdomain.com/favicon.ico or the address. It says that it is corrupt

0

Then I would still re-upload from scratch, as this should fix that.

Maybe in the renaming process your server has a problem and didn't quite finish it or something. Either way, an upload will DEFINATELY reset everything, and solving your problem.

0

Man that it is so upsetting. i cant believe i am spending hours and still have nt figured it out... i have upload it ten times

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.