1. Generate your favicon  (click here to generate favicon).
  2. Login to your control panel
  3. Upload your favicon.ico at /public_html/ folder
  4. Login to your wordpress and Go to  Dashboard – > Appearance -> Editor -> header.php
  5. add the below line just above closing your head tag. ( </head> )
1
<link rel="shortcut icon" href="favicon.ico">
Save it and check it brower after refreshing ( Ctrl + f5 )