Making WordPress.org

Opened 3 weeks ago

Last modified 3 weeks ago

#4713 new defect

Don't output inactive/invalid HREFLANG references

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: high
Component: General Keywords: seo

Description (last modified by jonoaldersonwp)

Various parts of the site (plugins, themes, homepages) output HREFLANG tags to cross-reference localised versions of the same page.

In many cases, these tags contain invalid Rosetta sites. E.g., see the reference to <link rel="alternate" href="https://nl_NL_formal.wordpress.org/themes/boots/" hreflang="nl-nl" /> on https://wordpress.org/themes/boots/.

The nl_NL_formal website doesn't exist / isn't accessible.

We need to remove links to invalid/inactive Rosetta sites/URLs.

Change History (1)

#1 @jonoaldersonwp
3 weeks ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.