Set schema_metatag
defaults for az_news
using the az_seo
module.
#3908
Labels
editor experience
Improvements to the editor experience for individuals editing Quickstart websites
enhancement
New feature or request
Motivation
Schema.org recommends adding structured data for news articles to improve their visibility in search engines and enhance their representation in search results. The relevant schema type is
NewsArticle
, which is suitable for pages containing news stories or news-like article content.Additional guidance: Google Search Documentation on NewsArticle Structured Data.
Example JSON-LD output:
Proposed Resolution
Describe the Solution You’d Like
schema_metatag
module for supporting theNewsArticle
schema type.headline
: Map to the title of the article.url
: Map to the canonical URL of the article.image
: Map to the featured image(s) associated with the article.datePublished
: Map to the article's publish date.dateModified
: Map to the article's last updated date.author.name
: Map to the author(s) of the article.author.url
: Map to the profile URL of the author(s) (if available).publisher.name
: Default to "University of Arizona".publisher.url
: Default to "https://www.arizona.edu".publisher.address
: Use the static address for the University of Arizona.Is your feature request related to a problem? Please describe.
Currently, pages containing news articles lack structured data, which limits their visibility and optimization in search engines. Adding
NewsArticle
schema will improve their discoverability and allow for richer search engine results.Roles and Permissions Considerations
Anonymous User
Authenticated User
Content Editor
Content Administrator
schema_metatag
plugin.Administrator
NewsArticle
schema metatag functionality site-wide.Additional Context
schema_article
module and choosingNewsArticle
as the type. See https://www.drupal.org/project/schema_metatag/issues/3039237az_course
andaz_person
.schema_metatag
Module to Quickstart's Composer File and as a Dependency foraz_seo
#3903, which integrates theschema_metatag
module into Quickstart and theaz_seo
module.Conditions of Satisfaction
NewsArticle
fields are configured based on article metadata.NewsArticle
.Next Steps
schema_article
moduleNewsArticle
schema defaults.The text was updated successfully, but these errors were encountered: