Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#4713 closed defect (bug) (fixed)

Don't output inactive/invalid HREFLANG references

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by: dd32's profile dd32
Milestone: Priority: high
Component: General Keywords: seo
Cc:

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 (2)

#1 @jonoaldersonwp
5 years ago

  • Description modified (diff)

#2 @dd32
5 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 9180:

WordPress.org, Plugin Directory, and Theme Directory: Sync the hreflang tag implementations. This prevents linking to non-existent sites.

Fixes #4713.

Note: See TracTickets for help on using tickets.