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

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="" hreflang="nl-nl" /> on

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:, 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.