• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #20387 - Favicon in Google Searches

I want that the website favicon to appear in google searches.
I saw some guidelines

Implementation
Here is how to make your site eligible for a favicon in search results:
Which is the path in Alysum for favicon?

Create a favicon that follows the guidelines below.
Add a <link> tag to the header of your home page with the following syntax:

<link rel=”shortcut icon” href=”/path/to/favicon.ico”>
rel
Can be any of the following strings:
“shortcut icon” “icon” “apple-touch-icon” “apple-touch-icon-precomposed” href
The URL of the favicon. Can be a relative path (/smile.ico) or absolute path (https://example.com/smile.ico), but must be in the same domain as the home page.
Google will look for and update your favicon whenever it crawls your home page. If you make changes to your favicon and want to inform Google about the changes, you can request indexing of your site’s homepage. Updates can take a few days or longer to appear in search results.

Comments

Fred 07 Jan 2021, 11:39

Upload your favicon into “/themes/alysum/assets/img”
and your link tag will look like this

<link rel=”shortcut icon” href=”{$urls.img_url}/favicon.ico”>
Ovidiu Lucian Matei 08 Jan 2021, 10:54

To be honest I don`t understand.
Can you be more explicit?
Thanks

Fred 08 Jan 2021, 11:04

But what, there are only two steps.
1. upload your favicon to “/themes/alysum/assets/img”
2. add link tag to the /themes/alysum/templates/_partials/head.tpl file

<link rel="shortcut icon" href="{$urls.img_url}/favicon.ico">
Ovidiu Lucian Matei 18 Jan 2021, 09:53

Hi Fred,
For sure you are explaining well but for me being my first experience with Prestashop.
I`ve generated and upload the favicon as per Prestashop instructions.
I `ve attached a picture.
Thanks

Attachments:

favicon.JPG (108.7 KiB)
Fred 18 Jan 2021, 10:00

If you are doing that through the back office, you don’t have to change anything in the code.
I thought you want to customize favicons