Search Our Database

How to Add Favicon to Your Website

Last updated on |
by

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