Opened 6 years ago
Closed 6 years ago
#5079 closed defect (bug) (fixed)
Add structured data to download page
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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
descriptionis taken from the page's meta description. - The 'date modified' and
versionvalues should correspond with the latest release (i.e., the time thatlatest.zipwas last updated). - Google requires a
operatingSystemproperty, 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
@
6 years ago
@jonoaldersonwp It appears to want 2 offers because we have 2 types listed. What do you suggest?
#3
@
6 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.