[wp-meta] [Making WordPress.org] #3947: heflang tag values should be derived from the canonical URL, not the request URL

Making WordPress.org noreply at wordpress.org
Fri Nov 23 11:08:03 UTC 2018


#3947: heflang tag values should be derived from the canonical URL, not the
request URL
----------------------------+--------------------
 Reporter:  jonoaldersonwp  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  high            |  Milestone:
Component:  General         |   Keywords:
----------------------------+--------------------
 Many of our pages use hreflang tags to indicate localised/translated
 variants. That value that they output is currently based on the request
 URL.

 E.g., `https://wordpress.org/download/?test=1234` outputs alternate URLs
 like `https://bs.wordpress.org/download/?test=1234`.

 This is incorrect; the alternate values should be derived fom the
 requested page's canonical URL.

 E.g., `https://wordpress.org/download/?test=1234` should output alternate
 URLs like `https://bs.wordpress.org/download/`.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3947>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list