Opened 4 years ago

Last modified 4 years ago

#4897 new defect (bug)

Gutenberg page omits hreflang tags

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: General Keywords: seo

Description (last modified by dd32)

Gutenberg pages, like, omit hreflang tagging.

As per other templates, a matrix of hreflang equivalents should be generated and output.

Change History (2)

#1 @dd32
4 years ago

  • Description modified (diff)

#2 @diddledani
4 years ago

The hreflang output in the rest of the site is handled by I'm unsure whether copying this code into either a shared location to be called from both wporg theme and gutentheme, or into the gutentheme directly will be suitable to fix this issue.

The Gutenberg section is actually a separate multisite blog so I'm not certain that the same localisation will work in both places. The WordPress-meta-environment in VVV isn't helping me here because it doesn't know about the Gutenberg site.

Last edited 4 years ago by diddledani (previous) (diff)
Note: See TracTickets for help on using tickets.