Opened 5 years ago
Closed 5 years ago
#5079 closed defect (bug) (fixed)
Add structured data to download page
Reported by: | jonoaldersonwp | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | low | |
Component: | General | Keywords: | seo |
Cc: |
Description (last modified by )
The download page (wordpress.org/download/ and rosetta variants) should include the following script.
Note that:
- URL/etc values should be localised where appropriate.
- Software versions should be maintained/correct.
- The
description
is taken from the page's meta description. - The 'date modified' and
version
values should correspond with the latest release (i.e., the time thatlatest.zip
was last updated). - Google requires a
operatingSystem
property, which doesn't quite fit our context, so I've intentionally botched this into an array of vaguely-useful values. It'll do as-is, though feel free to refine+improve+extend.
<script type="application/ld+json"> [ { "@context": "http://schema.org", "@type": [ "SoftwareApplication", "Product" ], "name": "WordPress", "operatingSystem": ["Linux","Windows","Unix","Apache","NGINX"], "applicationCategory": "WebApplication", "url": "https://wordpress.org/download/", "description": "Download WordPress today, and get started on creating your website with one of the most powerful, popular, and customizable platforms in the world.", "softwareVersion": "5.3.2", "fileFormat": "application/zip", "downloadUrl": "https://wordpress.org/latest.zip", "dateModified": "2020-03-03T07:59:44+00:00", "offers": { "@type": "Offer", "url": "https://wordpress.org/download/", "price": "0.00", "priceCurrency": "USD", "seller": { "@type": "Organization", "name": "WordPress.org", "url": "https://wordpress.org" } } } ] </script>
Attachments (2)
Change History (7)
#2
@
5 years ago
@jonoaldersonwp It appears to want 2 offers because we have 2 types listed. What do you suggest?
#3
@
5 years ago
- Description modified (diff)
@dufresnesteven Their wording is poor.
Resolved with the addition of a "applicationCategory": "WebApplication"
property/value pair.
Note: See
TracTickets for help on using
tickets.
I've tested the block you provided with Google's structure data tool and got the following errors.