Posts tagged: favicon

HOWTO Add favicon to your web site

To add a favicon to your site or blog do the following (tried on Linux):

  • Create an image in GIMP 16×16 or 32×32 in size, number of colors – below 16
  • Save it as favicon.ppm
  • Convert it to ico using this command:
  • 1
    ppmtowinicon -output favicon.ico favicon.ppm
  • If previos step doesn’t work – install netpbm and netpbm-tools packages:
  • 1
    $ sudo yum install netpbm netpbm-tools
  • Copy favicon.ico to your website document root directory
  • Add the following lines to your index.html or header file:
  • 1
    2
    <link href=’http://www.URL.com/favicon.ico’ rel=’shortcut icon’/>
    <link href=’http://www.URL.com/favicon.ico’ rel=’icon’/>

WordPress Themes