WordPress.org

Making WordPress.org

Opened 8 weeks ago

Closed 8 weeks ago

Last modified 8 weeks ago

#5010 closed defect (fixed)

Further improvements to plugin page schema

Reported by: jonoaldersonwp Owned by: dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords: seo
Cc:

Description (last modified by jonoaldersonwp)

On plugin pages like https://en-gb.wordpress.org/plugins/wordpress-seo/, we should make further improvements to the schema.org markup to take advantage of rich(er) search engine results.

Specifically:

  • Alter the @type property to ["SoftwareApplication","Product"].
  • Add an operatingSystem property, with a value of WordPress.
  • Alter the value of applicationCategory to Plugin.
  • Add an image property, where the value is an array containing the (largest version of) the banner image, and the (largest version of) the plugin icon. E.g., ["https://ps.w.org/wordpress-seo/assets/banner-1544x500.png?rev=1843435", "https://ps.w.org/wordpress-seo/assets/icon-256x256.png?rev=1834347"].
    • If either image is not present/set, omit it from the array. If neither are present/set, don't set the image property at all.
  • Add a url property to the offer (the local canonical URL of the plugin)

Change History (6)

#1 @jonoaldersonwp
8 weeks ago

  • Description modified (diff)

#2 @jonoaldersonwp
8 weeks ago

#5009 was marked as a duplicate.

#3 @jonoaldersonwp
8 weeks ago

  • Description modified (diff)

#4 @dd32
8 weeks ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 9473:

Plugin Directory: Schema: Enhance the plugins schema to provice richer data.

Props jonoaldersonwp.
Fixes #5010.

#5 @dd32
8 weeks ago

Deployed, here's the new set of schema warnings:
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fen-au.wordpress.org%2Fplugins%2Fwordpress-seo%2F

offers.availability	The availability field is recommended. Please provide a value if available.
offers.priceValidUntil	The priceValidUntil field is recommended. Please provide a value if available.
brand	The brand field is recommended. Please provide a value if available.
review	The review field is recommended. Please provide a value if available.
sku	 The sku field is recommended. Please provide a value if available.
{identifier} This product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers.

Most of these look like they're the result of adding the Product type.

#6 @jonoaldersonwp
8 weeks ago

No problem, they're all optional fields. This is super, thanks!

Note: See TracTickets for help on using tickets.