Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4357 closed defect (bug) (fixed)

Exclude inactive languages / Rosetta sites from hreflang mapping

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: Priority: normal
Component: General Keywords: seo
Cc:

Description

Sites which aren't active (i.e., "de_CH_informal") should be excluded from all hreflang mapping.

See https://pasteboard.co/I8hK80u.png for examples.

Change History (4)

#1 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Status changed from new to accepted

#2 @SergeyBiryukov
5 years ago

Previously: #3782

#3 @SergeyBiryukov
5 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 8569:

WP.org: Don't output hreflang link attributes for non-existing subdomains.

Props jonoaldersonwp.
Fixes #4357.

#4 @SergeyBiryukov
5 years ago

In 8571:

WP.org: Adjust [8569] to actually skip the affected non-existing sites.

See #4357.

Note: See TracTickets for help on using tickets.