Closed Bug 875293 Opened 11 years ago Closed 11 years ago

[SEO] Implement rel="alternate" hreflang="x"

Categories

(www.mozilla.org :: General, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 481550

People

(Reporter: kohei, Assigned: kohei)

Details

+++ This bug was initially created as a clone of Bug #481550 +++

(Bug 481550 comment 26)
> Along with rel="canonical", it's nice to have rel="alternate" hreflang="x"
> to combine indexing signals (aka PageRank) among locales.
> 
> http://googlewebmastercentral.blogspot.com/2011/12/new-markup-for-
> multilingual-content.html
> http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077
> 
> <link rel="canonical" href="http://www.mozilla.org/en-US/firefox/">
> <link rel="alternate" hreflang="af"
> href="http://www.mozilla.org/af/firefox/">
> <link rel="alternate" hreflang="ar"
> href="http://www.mozilla.org/af/firefox/">
>           :
> <link rel="alternate" hreflang="en"
> href="http://www.mozilla.org/en-US/firefox/">
>           :
Wouldn't this mean if we had say 60 languages on www.mozilla.org that we would need 60 rel="alternative" tags on each page of the website? If we want to do this, this will have to be done on the bedrock side where it can be done more programatically, with the python and php mix that we have now, it would be very difficult to pull this off.

Thanks!
I hope Bug 773371 will be of help to the implementation on the Bedrock site!
Priority: -- → P4
Once https://github.com/mozilla/bedrock/pull/989 is merged, (canonical and) alternate URLs can be implemented very easily. I have already committed the change:

https://github.com/kyoshino/bedrock/commit/f25df0c11a178b855cfb80f89a4e89549b524602
Assignee: nobody → kohei.yoshino.bugs
Status: NEW → ASSIGNED
Merging with the canonical URL bug.
No longer blocks: 745355
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
No longer depends on: 773371
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.