og:title is missing on views and contact form

Created on 13 December 2024, 8 days ago

Problem/Motivation

If you install Drupal CMS with SEO tools, metatag module is installed. Metatags are preconfigured. However, the views created by various content types does not have at least one important metatag, which is og:title.

Homepage has it, all content has it, but views blog, events, news does not. Also the webform contact form does not have it.

Steps to reproduce

Install Drupal CMS with SEO tools with some additional recipe like Blog, Events, ...
Visit /blog, /events, /news or /contact to see, that there are missing some important metatags (mainly the og:title).

Proposed resolution

Add the missing tag(s).

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

Track: SEO

Created by

πŸ‡ΈπŸ‡°Slovakia poker10

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

Comments & Activities

  • Issue created by @poker10
  • πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

    I don't think metatag defaults can be provided from this recipe for unknown views and webform entities. It would be up to the recipe that provides the views or forms to provide the metatag default config.

    I am updating this issue to be a meta issue. We should create child issues for each of the recipes that are missing the configuration.

  • πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts
  • πŸ‡ΈπŸ‡°Slovakia poker10

    Thanks. Created the child issues.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    All of these pages will ideally be nodes, we are just blocked by a core issue. See ✨ Listing pages Active

    But if we can't get this done then yes we should action the child issues.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    Did this only apply to the views pages? If so I think it can be closed, since all of the child issues are addressed elsewhere, but the title seems broader than that.

  • πŸ‡ΈπŸ‡°Slovakia poker10

    My original report was about views (these are already replaced) and contact form (there is an issue to replace it too). Not sure if it is missing anywhere else. Metatags are configured for "content" with this [node:field_seo_title|node:title], so unless we have any other config pages like the views were, I think this should probably be OK now.

Production build 0.71.5 2024