Archived topic
Edit Organization Schema that is added by default in GP
3 replies · Started by g_younes on March 16, 2020
Hello, I recently added an organization schema to my website which has the following content:
<script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://my-website.com",
"logo": "https://my-website.com/wp-content/uploads/.../logo.png"
}</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","@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!
Hi there,
GP doesn't add JSON+LD - are you using an SEO plugin as that may be adding it to the site.
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.
No problems - hope you find the solution.