According to the documentation of the hreflang tag (https://support.google.com/webmasters/answer/189077?hl=en), the rel value should be rel="alternate", but for some reason the module is currently outputting rel="alternative".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcnventura created an issue. See original summary.

jcnventura’s picture

Status: Active » Reviewed & tested by the community
FileSize
510 bytes

It's a one liner fix.. No review needed other than looking at the patch.

DamienMcKenna’s picture

Version: 7.x-1.14 » 7.x-1.x-dev
Status: Reviewed & tested by the community » Needs review
Parent issue: » #2699045: Plan for Metatag 7.x-1.15 release

Thanks for spotting the oversight, and the patch.

One minor note - please do not mark your own patches are "RTBC", instead please mark them "needs review", that'll kick off the testbot and let me know there's a patch to look at.

Thanks again.

charlesj’s picture

Patch works for me. Thank you!
(I am using Drupal 7.43, PHP 5.3.3)

giupenni’s picture

Patch works for me.
Thank you!

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.