How to get the favicon to work

Intro.

This wasn’t as easy as some blogs out there would have it!

Icon

Get a JPEG image.

Then, go to a website which converts it to a favicon. For example,

FavIcon from Pics

Name it favicon.gif .

Where to Put Icon

in document root

If your web server has virtual hosts, you’ll have more than one document root.

HTML

Put following in head section of your web pages.

<link rel="icon" href="/favicon.gif" type="image/gif">

Note

Originally, the reason I worked on this matter was because of getting an Apache log warning saying a request for favicon.ico went unfulfilled. Maybe, I should change the icon’s name to favicon.ico.

Advertisements

About samehramzylabib

See About on https://samehramzylabib.wordpress.com
This entry was posted in CodeIgniter, Configure My Systems, Other. Bookmark the permalink.

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s