[Resolved] Edit Organization Schema that is added by default in GP

Home Forums Support Edit Organization Schema that is added by default in GP

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1196178
    Ghadeer

    Hello, I recently added an organization schema to my website which has the following content:

    <script type=”application/ld+json”>{
    “@context”: “https://schema.org&#8221;,
    “@type”: “Organization”,
    “url”: “https://my-website.com&#8221;,
    “logo”: “https://my-website.com/wp-content/uploads/…/logo.png&#8221;
    }</script>

    The main purpose of this was to add the “logo” URL. After adding it, I got a duplicate schema flag, and it turns out GeneratePress already adds a “type: organization” schema by default. However, the GeneratePress one looks like this:

    <script type=”application/ld+json”>{“@context” : “https://schema.org&#8221;,”@type” : “Organization”,”name” : “My Site Name”,”url” : “https:\/\/my-site.com”}</script>

    -> It has no logo URL (obviously). So is there a way to edit the one provided by GP? Or is there a way to disable only this schema added by GP? (I want to keep the others).

    Thank you!

    #1196255
    David
    Staff
    Customer Support

    Hi there,

    GP doesn’t add JSON+LD – are you using an SEO plugin as that may be adding it to the site.

    #1196655
    Ghadeer

    Oh apologies, my mistake. I thought it was added by GP. I will look into whether it’s the SEO plugin or something else.

    Many thanks.

    #1196837
    David
    Staff
    Customer Support

    No problems – hope you find the solution.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.