There are two ways to add a favicon to your WordPress website:
-
Use the WordPress Customizer:
- Go to Appearance > Customize.
- Click on the Site Identity tab.
- Under Site Icon, click on the Select File button and upload your favicon.
- Click on the Save & Publish button.
-
Use FTP:
- Log in to your web hosting account using FTP.
- Go to the root directory of your WordPress installation.
- Create a new folder called favicons.
- Upload your favicon to the favicons folder.
- Open your WordPress dashboard and go to Appearance > Customize.
- Click on the Site Identity tab.
- Under Site Icon, select your favicon from the dropdown menu.
- Click on the Save & Publish button.
Your favicon should now be displayed on your WordPress website.