next-seo icon indicating copy to clipboard operation
next-seo copied to clipboard

WebSiteJsonLd

Open imprisonedmind opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe. I have both <OrganizationJsonLd/> and <LocalBusinessJsonLd/> yet my siteName on Google search does not change from a URL. Following these docs, it appears we are missing <WebSiteJsonLd/> either that or I am missing something?

I also have my all metadata fields setup correctly.

Describe the solution you'd like

      <WebSiteJsonLd
        useAppDir={true}
        siteMetadata={{
          '@type': 'WebSite',
          name: 'Burnt Toast',
          alternateName: ['BT', 'B-T', 'Burnt Toast Shop'],
          url: 'https://www.example.com/',
        }}
      />

Describe alternatives you've considered

  1. Tried other jsonLD tags
  2. Tried Next.js metadata tags
  3. Passing custom data to <DefaultSeo/>
      <DefaultSeo
        dangerouslySetAllPagesToSources={{
          websiteJsonLd: {
            "@context": "https://schema.org",
            "@type": "WebSite",
            name: "Burnt Toast",
            alternateName: ["BT", "B-T", "Burnt Toast Shop"],
            url: "https://www.example.com/",
          },
        }}
      />

imprisonedmind avatar May 13 '24 09:05 imprisonedmind

would be nice

vavilondev avatar Jul 05 '24 16:07 vavilondev