Opened 8 years ago

Closed 8 years ago

#1631 closed defect (bug) (fixed)

x-default hreflang tag is wrong

Reported by: joostdevalk's profile joostdevalk Owned by:
Milestone: Priority: normal
Component: General Keywords:

Description (last modified by ocean90)

Related: #990

The hreflang="x-default" line of the hreflang lines on, for instance, plugin pages, now links to the current page. So:

  • if you're on;
  • the x-default is
  • It should at least be

Even better would be to leave it out completely. x-default is for language redirectors, which we currently don't have.

“The x-default hreflang value signals to our algorithms that such a page doesn’t target a specific language or locale.”


Change History (1)

#1 @ocean90
8 years ago

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [dotorg11720] (replace x-default with en) and [dotorg11721 (don't cache the en_US entry because it uses$_SERVER['HTTP_HOST']).

Note: See TracTickets for help on using tickets.