Archive for January 5th, 2016


Force a favicon onto a webpage – 2016 update

Back in 2011 I wrote¬†this article¬†about supporting multiple sites on shared hosting, and forcing each site to have it’s own favicon.

Modern browsers require image files, and it is just older browsers (and IE) that require the .ico files:

<link rel="icon" type="image/png" href="">
<!--[if IE]><link rel="shortcut icon"href=""/><![endif]-->