ProfilePage is missing mainEntity

Created on 1 March 2024, 4 months ago
Updated 14 June 2024, 14 days ago

Problem/Motivation

For ProfilePage, Google requires mainEntity of type Person or Organization.

The schema_metatag module does not support this.

Steps to reproduce

  1. Configure a page to use the ProfilePage subtype of WebPage.
  2. Test the output with Google's testing tool. The tool reports an error that mainEntity is missing (example).

Proposed resolution

Add a separate module for ProfilePage with the properties required & recommended by Google, following the pattern of QAPage.

Here's an example of passing ProfilePage schema.

A patch to produce the above result is in progress.

User interface changes

  • Extracts ProfilePage to independent module.
  • Adds mainEntity, dateCreated, dateModified as options under ProfilePage
  • Removes properties from ProfilePage that were previously available when ProfilePage was included as a subtype of WebPage.
✨ Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

🇺🇸United States kentr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024