Search our database

How to Add Favicon to Your Website

1. Upload your icon image file to your hosting root (public_html, wwwroot, httpdocs), and make sure its able to be viewed using browser. example: http://www.domain.com/icon.jpeg

2. Add in code below in your index file:

<link rel="icon" href="http://example.com/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://example.com/favicon.ico" type="image/x-icon" />

replace the URL with your image path

3. Reload your website and see if favicon appear

Tags: