In looking at #1164682: links with a known language need language identifier and trying to satisfy http://support.google.com/webmasters/bin/answer.py?hl=en&hlrm=es&answer=...

For a multi-lingual site one would need to be able to insert multiple rel="alternate" links with different values for each language.

I should be able to have both:

<link rel="alternate" hreflang="en" href="en/node/5" />
<link rel="alternate" hreflang="fr" href="fr/node/6" />

In the header.

Comments

aimeerae’s picture

Assigned: Unassigned » aimeerae
mgifford’s picture

Just tagging.

mvc’s picture

fwiw i was not able to reproduce this while testing #1164682: links with a known language need language identifier

jhedstrom’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

The uniqueness is now keyed off of both rel and href:

  _drupal_add_html_head($element, 'html_head_link:' . $attributes['rel'] . ':' . $href);

so given that, and #3, I think this has been addressed elsewhere.