Closed Bug 1442331 Opened 7 years ago Closed 7 years ago

Noindex pages must not have canonical and hreflang

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

(1 file)

All pages having the directive "noindex" must not have neighter a canonical tag nor hreflang tags. We did this already for scene2 (https://github.com/mozilla/bedrock/commit/f0c0cdd162a9be911032251b0dca612530089382) and we need to do this for all noindex pages. Noindex could be inherited to the hreflang chain or to the canonic original. That’s dangerous not only for pages with issues but for the whole hreflang setup. Example urls in Column E, there might be more, my crawler is not perfect: Urls with Noindex & canonical: https://docs.google.com/spreadsheets/d/1ldxCqgBxstcSaaAOlSR40Qi-o5c02V0KV4ogwf0uVVk/edit?usp=sharing Urls with Noindex & hreflang: https://docs.google.com/spreadsheets/d/1LfKw1QkJ18WogsI74RjibT2JKL0l6NQcFreOgn2PuTw/edit?usp=sharing
Blocks: 1441206
Assignee: nobody → agibson
Status: NEW → ASSIGNED
Commit pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/9fbd7346d04c2b438c5d6038a89bdb993ba7e997 [fix bug 1442331] Noindex pages must not have canonical and hreflang
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: