ProfilePage is missing mainEntity

Created on 1 March 2024, 10 months ago
Updated 2 March 2024, 10 months 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<code> was included as a subtype of <code>WebPage.
🐛 Bug report
Status

Active

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.71.5 2024