Opened 7 years ago
Closed 7 years ago
#2661 closed defect (bug) (fixed)
Plugin Theme: Reviews schema is missing on plugin pages, resulting in missing star ratings in Google
Reported by: | Dharm1025 | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | normal |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
I have noticed that plugin reviews are not displaying on search results of google.
Attachments (1)
Change History (17)
#1
@
7 years ago
- Component changed from General to Plugin Directory
- Summary changed from Plugin reviews are missing from search engines (google) to Plugin reviews are missing from search engines (google) after plugin directoy update.
#4
follow-up:
↓ 5
@
7 years ago
I'd suggest using a JSON+LD blob instead of the code on the page as in the old directory. See:
https://developers.google.com/search/docs/data-types/reviews#review-snippets
#5
in reply to:
↑ 4
@
7 years ago
Replying to joostdevalk:
I'd suggest using a JSON+LD blob instead of the code on the page as in the old directory. See:
https://developers.google.com/search/docs/data-types/reviews#review-snippets
Yeah, I saw. That would be a <script type="application/ld+json"> in the head of the single-plugin pages, yes? If so, then this can be added separately, and hooked in with wp_head or some such. No need to directly modify the markup of the theme. Cleaner.
Don't think it will affect the REST plans for the theme, since we only care what Googlebot sees and it should pull the original URLs from the original theme. But it's something to keep in mind, we don't want it seeing the wrong information on the wrong URLs.
#7
@
7 years ago
- Summary changed from Plugin reviews are missing from search engines (google) after plugin directoy update. to Reviews schema is missing on plugin pages, resulting in missing star ratings in Google
#8
@
7 years ago
- Summary changed from Reviews schema is missing on plugin pages, resulting in missing star ratings in Google to Plugin Theme: Reviews schema is missing on plugin pages, resulting in missing star ratings in Google
#9
@
7 years ago
@joostdevalk What do you think about this markup?
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "SoftwareApplication", "applicationCategory": "http://schema.org/OtherApplication", "name": "Yoast SEO", "description": "WordPress out of the box is already technically quite a good platform for SEO. This was true when Joost wrote his original WordPress SEO article in 20 …", "softwareVersion": "4.6", "fileFormat": "application/zip", "downloadUrl": "https://downloads.wordpress.org/plugin/wordpress-seo.4.6.zip", "author": { "@type": "Person", "name": "Team Yoast", "url": "https://profiles.wordpress.org/yoast" }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "5", "ratingCount": "15000" }, "interactionStatistic": { "@type": "InteractionCounter", "interactionType": "http://schema.org/DownloadAction", "userInteractionCount": "44199954" }, "offers": { "@type": "Offer", "price": "0.00", "priceCurrency": "USD", "seller": { "@type": "Organization", "name": "WordPress.org", "url": "https://wordpress.org" } } } </script>
#10
@
7 years ago
I don't think I'd do softwareApplication, to be honest @ocean90, product is simpler and more likely to get picked up right.
#11
@
7 years ago
For the records: softwareApplication is what we had used in the old plugin directory.
#13
@
7 years ago
Heh, okay. Following an example for Product:
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Product", "name": "Yoast SEO", "description": "WordPress out of the box is already technically quite a good platform for SEO. This was true when Joost wrote his original WordPress SEO article in 20 …", "logo": "https://ps.w.org/wordpress-seo/assets/icon-256x256.png", "isConsumableFor": { "@type": "Product", "name": "WordPress", "description": "WordPress is open source software you can use to create a beautiful website, blog, or app." }, "aggregateRating": { "@type": "AggregateRating", "ratingValue": "5", "ratingCount": "15000" }, "offers": { "@type": "Offer", "price": "0.00", "priceCurrency": "USD", "seller": { "@type": "Organization", "name": "WordPress.org", "url": "https://wordpress.org" } } } </script>
Yes, the markup we used to have to add that is missing. We'll look into adding it to the new directory as well.