Changing the favicon magento

Go to system -> configuration and click on the option  “Design” (sidebar menu)  under the main category “general” .Then upload an image to the field “Favicon Icon” under the HTML Head.