How to add an icon to a browser tab

Browser: Safari, FireFox, Chrome
Platform: mac OS
Page type: .php

I placed the following code into the Header:

<link rel="icon" type="image/png" href="https://www.PriorAuthorization.us/assets/images/icon.png" sizes="16x16"/>

It will not display. Does it require another line of code? The path works. I don’t understand. Any suggestions would be appreciated.

Thank you in advance.

When pasting code in your posts please make sure to format it properly:

1 Like

I can see the icon visiting your site:

Screenshot 2022-12-01 at 9.59.17

But also you don’t need the full url to the image like:

<link rel="icon" type="image/png" href="https://www.PriorAuthorization.us/assets/images/icon.png" sizes="16x16" />

you can add it like:

<link rel="icon" type="image/png" href="/assets/images/icon.png" sizes="16x16" />
1 Like

I think this may be a caching issue. Close down your browser and restart it, or try the same page link using a different browser, one you rarely / never use. Or you could emtpy your existing browser cache then open the link up in a new window.

3 Likes

Deleting the cache and quitting the browsers did not help. I will need to restart the computer later today. The good news is that you can see it. Thank you all.

1 Like