Hey! I have a nextjs site hosted with Vercel. I have all the metadata tags setup in my layout etc. I have a favicon that meets the 48x48 standard by google. Its been live for a few weeks, I setup a google search console account so it gets indexed however, my favicon still doesn't display in the google search. I'm not sure if I'm missing something
#Nextjs Favicon not showing up in google search
1 messages · Page 1 of 1 (latest)
That's awesome! To get this to function for your next.js application, you'll want to have your page.tsx file in the /root/app directory to contain the following:
`title: "your website title",
description:
"your website description.",
alternates: {
canonical: "https://www.yourwebsite.com/",
},
openGraph: {
title: "your website title",
description:
"your website description.",
url: "https://www.yourwebsite.com",
siteName: "yoursite name",
images: [
{
url: "/og/image-name.png",
width: 1200,
height: 630,
alt: "alternate description",
},
],
type: "website",
},
social-media sharing: {
card: "card-name",
title: "your website title",
description:
"your website description.",
images: ["/image-name.png"],
},
};`