Closed Bug 1442327 Opened 7 years ago Closed 7 years ago

Remove hreflang in canonical tag

Categories

(www.mozilla.org :: Pages & Content, enhancement)

Production
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: raue, Assigned: agibson)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

We should remove the hreflang attribut in our canonical tag on all pages and locales. Our canonical is: <link rel="canonical" hreflang="en" href="https://www.mozilla.org/en-US/firefox/new/"> It should be: <link rel="canonical" href="https://www.mozilla.org/en-US/firefox/new/"> This could confuse the crawler and is not necessary. The necessary self hreflang link is included and with this setup there could be confusions as the locale is twice in teh setup. It’s even likely, that because of this Google doesn’t understand our canonicals at all.
Blocks: 1441206
(In reply to Stephen Donner [:stephend] from comment #1) > If it's just cleanly removing these, here, I might be up for this: > https://github.com/mozilla/bedrock/search?utf8=%E2%9C%93&q=hreflang&type=Code Thanks for the offer, Stephen! In this case, we have a bunch of SEO bugs we want to plough through quickly, so I'm going to take this. Next time if you see something you want to fix, please feel free just to grab it and submit a PR!
Assignee: nobody → agibson
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: