I\'ve learned that the way to add favicon for a web page is to have the following lines in the page.
Here is my method for php sites. It ensures that if you update the favicon, it will be updated immediatly when your clients visit your site: