Putting favicon on multiple pages on the same site

Asked

Viewed 3,201 times

4

There is the possibility of using a different favicon for each page of a website?

For example, I have a site with ten pages, I want to put a different favicon on each of the pages.

  • 1

    Do you intend to do this manually or dynamically? If it’s dynamically, you’re using some content manager or language to generate the pages?

3 answers

6


If it’s static, you just change the

<link href="/SEU_FAVICON_DIFERENTE_AQUI.ico" rel="shortcut icon" type="image/x-icon" />

On each html page.

2

The favicon is inserted into the page by html.

Faveicon from Stackoverflow

<link rel="shortcut icon" href="//cdn.sstatic.net/br/img/favicon.ico?v=dc8ddf0e4768">

Just who each page points to a different image.

-1

Hello try this code

<meta property="og:image" content="http://www.seu_site/pasta_de_favicons/nome_do_favicon.png" />

tip: your favicon image has to be 192x192 pixels and extension . png

Browser other questions tagged

You are not signed in. Login or sign up in order to post.