Where to upload favicon/website icon?

I have favicon.ico which I uploaded to htdocs/, however it is not showing. I’ve reset the cache too.
This will be the default icon on all pages, I don’t want to add link rel for this reason.

How/where do I upload a website icon?

Thanks

you did it well (root dir = htdocs)
typically prefer 32x32 and 16x16 pixels
but do not hesitate to define it inside of html.

Different browsers prefer a different favicon (mobile browsers, apple, android, windows 10 start, etc.)
how to refresh the favicon you have to read the instructions for different browser or download the plugin (because they mostly record your bookmarks in a separate file, not a cache)

but for diferent favicon for any page you must use “link rel” in html
and if is displayed (dif. for each page) depends on the browser itself (they do not all behave equally)

If you know how to configure and edit the htaccess file, you could try this:
Put the ico in the
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(favicon\.ico)$ %{HTTP_HOST}/$1 [L,NC]

or
Define it either in your .php or .html files :

Hope this helps :stuck_out_tongue:

Browsers will guess the favicon location if you don’t specify a link rel for it. However, they will only check it once and then remember your website didn’t have a favicon.

You can either wait a few days for your browser to check the URL again, or add the link rel (preferably with a different URL) to force browsers to check the URL again.

You are correct, thank you. It was my browser cache.
It displays now.