WordPress.org

Making WordPress.org

Opened 7 months ago

Closed 6 months ago

#4713 closed defect (fixed)

Don't output inactive/invalid HREFLANG references

Reported by: jonoaldersonwp Owned by: 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
7 months ago

  • Description modified (diff)

#2 @dd32
6 months 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.