Favicons with WP in a specific folder in 2023

In WordPress in 2023, you can place your favicons in a specific folder by uploading them to the root directory of your theme or by using a custom folder within your theme directory. Then, you can reference the favicon in your theme’s header.php file using the appropriate HTML code.

Why can’t I upload ICO files to WordPress?

Via the Site Identity settings in the Customizer, I can’t upload a favicon image. Site Identity != favicon image. It’s used for favicons and resized down but it’s also used in lots of other locations. E.g. it can appear in: the theme header as the logo smartphone homescreens twitter and FB previews So uploading a … Read more

Favicon only appearing on the homepage?

I set the href as the abosolute path and it works, seeing below: <link rel=”shortcut icon” href=”http://example.com/favicon.ico” /> Or as suggested by @Caspar and @Howdy_McGee, for wordpress 4.3+, use: Dashboard -> Appearance -> Customize -> Site Identity -> Site Icon

Not able to show the favicon to the uploads URL in WordPress

I have just implemented this solution to my own website. I copied my site-icon.png file (the favicon that I inserted via the wordpress dashboard) to my root directory (public_html folder) and renamed it favicon.ico. To test that it was placed correctly I typed in the following www.mywebsite.co.za/favicon.ico and the favicon displayed. I then went and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)